ListBoxAutomationPeer ListBoxAutomationPeer ListBoxAutomationPeer ListBoxAutomationPeer Class


Exposes ListBox types to Microsoft UI Automation.

public : class ListBoxAutomationPeer : SelectorAutomationPeer, IListBoxAutomationPeerpublic class ListBoxAutomationPeer : SelectorAutomationPeer, IListBoxAutomationPeerPublic Class ListBoxAutomationPeer Inherits SelectorAutomationPeer Implements IListBoxAutomationPeer// This API is not available in Javascript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Inherited methods


The Windows Runtime ListBox class creates a new ListBoxAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from ListBoxAutomationPeer if you are deriving a custom class from ListBox and want to add automation support for additional features that you enabled in your custom class. Then override OnCreateAutomationPeer so that it returns your custom peer.

Default peer implementation and overrides in ListBoxAutomationPeer

ListBoxAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.

The peer also has other behaviors that are provided by the base FrameworkElementAutomationPeer class. For more info, see "Base implementation in FrameworkElementAutomationPeer" section of Custom automation peers.


ListBoxAutomationPeer(ListBox) ListBoxAutomationPeer(ListBox) ListBoxAutomationPeer(ListBox) ListBoxAutomationPeer(ListBox)

Initializes a new instance of the ListBoxAutomationPeer class.

public : ListBoxAutomationPeer(ListBox owner)public ListBoxAutomationPeer(ListBox owner)Public Sub New(owner As ListBox)// This API is not available in Javascript.
ListBox ListBox ListBox ListBox

The owner element to create for.

See Also