Return the access state of the control (Enabled/Disabled)
Namespace:
QAliber.Engine.Controls
Assembly:
QAliber.Engine (in QAliber.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public virtual bool Enabled { get; } |
| Visual Basic (Declaration) |
|---|
Public Overridable ReadOnly Property Enabled As Boolean |
| Visual C++ |
|---|
public:
virtual property bool Enabled {
bool get ();
} |
Return Value
true when control is Enabled
Examples
CopyC#
UIAButton button1 = Desktop.UIA[@"", @"Shell_TrayWnd", @"UIAPane"][@"Start", @"Button", @"304"] as UIAButton;
if (button1.Enabled)
{
}
See Also