ListBoxItemDataAutomationPeer ListBoxItemDataAutomationPeer ListBoxItemDataAutomationPeer ListBoxItemDataAutomationPeer Class

Definition

Exposes ListBox items to Microsoft UI Automation, using a data representation of the item so that the peer supports scrolling to that item with data awareness.

public : class ListBoxItemDataAutomationPeer : SelectorItemAutomationPeer, IListBoxItemDataAutomationPeer, IScrollItemProviderpublic class ListBoxItemDataAutomationPeer : SelectorItemAutomationPeer, IListBoxItemDataAutomationPeer, IScrollItemProviderPublic Class ListBoxItemDataAutomationPeer Inherits SelectorItemAutomationPeer Implements IListBoxItemDataAutomationPeer, IScrollItemProvider// 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

ListBoxItemDataAutomationPeer is generated from ListBoxAutomationPeer logic, not an associated control class.

Default peer implementation and overrides in ListBoxItemDataAutomationPeer

ListBoxItemDataAutomationPeer 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.

Constructors

ListBoxItemDataAutomationPeer(Object, ListBoxAutomationPeer) ListBoxItemDataAutomationPeer(Object, ListBoxAutomationPeer) ListBoxItemDataAutomationPeer(Object, ListBoxAutomationPeer) ListBoxItemDataAutomationPeer(Object, ListBoxAutomationPeer)

Initializes a new instance of the ListBoxItemDataAutomationPeer class.

public : ListBoxItemDataAutomationPeer(PlatForm::Object item, ListBoxAutomationPeer parent)public ListBoxItemDataAutomationPeer(Object item, ListBoxAutomationPeer parent)Public Sub New(item As Object, parent As ListBoxAutomationPeer)// This API is not available in Javascript.
Parameters
item
PlatForm::Object Object Object Object

The specific data item.

parent
ListBoxAutomationPeer ListBoxAutomationPeer ListBoxAutomationPeer ListBoxAutomationPeer

The automation peer for the ListBox that contains the item.

Methods

ScrollIntoView() ScrollIntoView() ScrollIntoView() ScrollIntoView()

Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.

public : void ScrollIntoView()public void ScrollIntoView()Public Function ScrollIntoView() As void// This API is not available in Javascript.

See Also