ClassListBox
Wraps a ListBox element.
Definition
Namespace:ArtOfTest.WebAii.Controls.Xaml.Wpf
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class ListBox : Selector, IAutomationPeer, IPeerConverter, IControl, IListBox, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlItemsControlSelectorListBox
Derived Classes:
Implements:
Inherited Members
Constructors
ListBox()
Declaration
public ListBox()
Fields
ItemsProperty
Declaration
public static AutomationProperty ItemsProperty
Field Value
SelectionModeProperty
Declaration
public static AutomationProperty SelectionModeProperty
Field Value
Properties
Items
Get the Items collection.
Declaration
public ItemCollection Items { get; }
Property Value
Implements
ItemsPanel
Get the element holding the list box items.
Declaration
public virtual FrameworkElement ItemsPanel { get; }
Property Value
ListBoxItems
Get the list box items.
Declaration
public List<IListBoxItem> ListBoxItems { get; }
Property Value
Implements
SelectionMode
Declaration
public SelectionMode SelectionMode { get; set; }
Property Value
Methods
AssignReference(AutomationReference)
Assign the automation reference to this element.
Declaration
public override void AssignReference(AutomationReference reference)
Parameters
reference
The automation reference to assign.
Overrides
Implements
GetRealType()
Gets the real object type. This property returns string.empty on FrameworkElement and all subclasses that inherit from it.