List​Box​Item​Data​Automation​Peer List​Box​Item​Data​Automation​Peer List​Box​Item​Data​Automation​Peer 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
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

Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)

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)

Initializes a new instance of the ListBoxItemDataAutomationPeer class.

public ListBoxItemDataAutomationPeer(Object item, ListBoxAutomationPeer parent)public ListBoxItemDataAutomationPeer(Object item, ListBoxAutomationPeer parent)Public Sub New(item As Object, parent As ListBoxAutomationPeer)
Parameters
item
System.Object System.Object System.Object

The specific data item.

parent
ListBoxAutomationPeer ListBoxAutomationPeer ListBoxAutomationPeer

The automation peer for the ListBox that contains the item.

Attributes

Methods

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
Attributes