The UIAControl type exposes the following members.

Properties

  NameDescription
Children (Overrides UIControlBase..::.Children.)
ClassName (Overrides UIControlBase..::.ClassName.)
CodePath (Overrides UIControlBase..::.CodePath.)
Enabled (Overrides UIControlBase..::.Enabled.)
Handle (Overrides UIControlBase..::.Handle.)
HelpText
An additional help string associated with the control
ID (Overrides UIControlBase..::.ID.)
Index
The index of the child control among its siblings
(Inherited from UIControlBase.)
IsWinForms
Indicates whether the control is a winforms control
ItemOverloaded.
Layout (Overrides UIControlBase..::.Layout.)
MSAA
The MSAA API for the control
Name (Overrides UIControlBase..::.Name.)
Parent (Overrides UIControlBase..::.Parent.)
Process (Overrides UIControlBase..::.Process.)
UIAControlType
The type of the control as it exposed by the UI Automation framework.

Examples

CopyC#
UIAButton button1 = null;
  UIAPane win = Desktop.UIA[@"", @"Shell_TrayWnd", @"UIAPane"] as UIAPane;
  foreach (UIControl control in win.Children)
  {
      if (control.Type == System.Windows.Automation.ControlType.Button)
      {
          button1 = control as UIAButton;
          break;
      }
  }
  button1.Click();
UIAutomationElement
Gets the underlying UIAutomation object of the control
UIType
The name of the current type (UIAButton, UIAEditBox, etc) as it is translated by QAliber engine.
(Inherited from UIControlBase.)
Visible (Overrides UIControlBase..::.Visible.)
VisibleName
The name of the control as it appears in the UI Controls browser
(Inherited from UIControlBase.)

See Also