ApplicationObject Property
OpenText Functional Testing 2022 and later: Following the discontinuance of the Silverlight development framework, OpenText Functional Testing no longer supports the Silverlight Add-in by default.
If you need to use and extend the Silverlight Add-in, contact OpenText Support.
Returns a reference to the custom control.
| Visual Basic (Declaration) |
|---|
Overridable ReadOnly Property ApplicationObject As DependencyObject |
| C# |
|---|
virtual DependencyObject ApplicationObject {get;} |
This property provides direct access to the control events, methods, and data.
Cast the returned control reference to the real control's type. For example:
oTxt = (TextBox)UtilityObject.ApplicationObject;
After obtaining the control reference, use the simple obj.Member syntax.
oTxt = (TextBox)UtilityObject.ApplicationObject;
string txt = oTxt.Text;
Reference
IUtilityObject Interface

