List​Box​Item​Automation​Peer List​Box​Item​Automation​Peer List​Box​Item​Automation​Peer List​Box​Item​Automation​Peer Class

Definition

Exposes the items in the Items collection of a ListBox to Microsoft UI Automation.

public : class ListBoxItemAutomationPeer : FrameworkElementAutomationPeer, IListBoxItemAutomationPeerpublic class ListBoxItemAutomationPeer : FrameworkElementAutomationPeer, IListBoxItemAutomationPeerPublic Class ListBoxItemAutomationPeer Inherits FrameworkElementAutomationPeer Implements IListBoxItemAutomationPeer// This API is not available in Javascript.
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Remarks

The Windows Runtime ListBoxItem class creates a new ListBoxItemAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from ListBoxItemAutomationPeer if you are deriving a custom class from ListBoxItem 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 ListBoxItemAutomationPeer

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

Constructors

ListBoxItemAutomationPeer(ListBoxItem) ListBoxItemAutomationPeer(ListBoxItem) ListBoxItemAutomationPeer(ListBoxItem) ListBoxItemAutomationPeer(ListBoxItem)

Initializes a new instance of the ListBoxItemAutomationPeer class.

public : ListBoxItemAutomationPeer(ListBoxItem owner)public ListBoxItemAutomationPeer(ListBoxItem owner)Public Sub New(owner As ListBoxItem)// This API is not available in Javascript.
Parameters
owner
ListBoxItem ListBoxItem ListBoxItem ListBoxItem

The owner element to create for.

See Also