The UIAListBox type exposes the following members.

Properties

  NameDescription
CanScrollHorizontal
Check if horizental scroller exists
CanScrollVertical
Check if verital scroller exists
CanSelectMultiple
Verify if list allow multiple items to be selected.
Children (Inherited from UIAControl.)
ClassName (Inherited from UIAControl.)
CodePath (Inherited from UIAControl.)
Enabled (Inherited from UIAControl.)
Handle (Inherited from UIAControl.)
HelpText
An additional help string associated with the control
(Inherited from UIAControl.)
HorizontalPercents
Check if horizental scroller exists
ID (Inherited from UIAControl.)
Index
The index of the child control among its siblings
(Inherited from UIControlBase.)
IsWinForms
Indicates whether the control is a winforms control
(Inherited from UIAControl.)
ItemOverloaded.
Items
Return the string names of each item in the list
Layout (Inherited from UIAControl.)
MSAA
The MSAA API for the control
(Inherited from UIAControl.)
Name (Inherited from UIAControl.)
Parent (Inherited from UIAControl.)
Process (Inherited from UIAControl.)
SelectedItems
Get the list of selected fonts
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();
(Inherited from UIAControl.)
UIAutomationElement
Gets the underlying UIAutomation object of the control
(Inherited from UIAControl.)
UIType
The name of the current type (UIAButton, UIAEditBox, etc) as it is translated by QAliber engine.
(Inherited from UIControlBase.)
VericalPercents
Check if horizental scroller exists
Visible (Inherited from UIAControl.)
VisibleName
The name of the control as it appears in the UI Controls browser
(Inherited from UIControlBase.)

See Also