ListBoxItemDataAutomationPeer class
TOC
Collapse the table of content
Expand the table of content

ListBoxItemDataAutomationPeer class

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.

Inheritance

Object
  DependencyObject
    AutomationPeer
      ItemAutomationPeer
        SelectorItemAutomationPeer
          ListBoxItemDataAutomationPeer

Syntax


public class ListBoxItemDataAutomationPeer : SelectorItemAutomationPeer,
    IScrollItemProvider

Members

The ListBoxItemDataAutomationPeer class has these types of members:

Constructors

The ListBoxItemDataAutomationPeer class has these constructors.

ConstructorDescription
ListBoxItemDataAutomationPeer Initializes a new instance of the ListBoxItemDataAutomationPeer class.

 

Methods

The ListBoxItemDataAutomationPeer class has these methods. It also inherits methods from the Object class.

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

 

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

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Automation.Peers
Windows::UI::Xaml::Automation::Peers [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation.Peers
Windows::UI::Xaml::Automation::Peers [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

See also

Object
SelectorItemAutomationPeer
ItemAutomationPeer
IVirtualizedItemProvider
ISelectionItemProvider
IScrollItemProvider

 

 

Show:
© 2016 Microsoft