PivotItemDataAutomationPeer PivotItemDataAutomationPeer PivotItemDataAutomationPeer PivotItemDataAutomationPeer Class

Definition

Exposes the data content of a PivotItem to Microsoft UI Automation.

public : sealed class PivotItemDataAutomationPeer : ItemAutomationPeer, IPivotItemDataAutomationPeer, IScrollItemProvider, ISelectionItemProvider, IVirtualizedItemProviderpublic sealed class PivotItemDataAutomationPeer : ItemAutomationPeer, IPivotItemDataAutomationPeer, IScrollItemProvider, ISelectionItemProvider, IVirtualizedItemProviderPublic NotInheritable Class PivotItemDataAutomationPeer Inherits ItemAutomationPeer Implements IPivotItemDataAutomationPeer, IScrollItemProvider, ISelectionItemProvider, IVirtualizedItemProvider// 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

Constructors

PivotItemDataAutomationPeer(Object, PivotAutomationPeer) PivotItemDataAutomationPeer(Object, PivotAutomationPeer) PivotItemDataAutomationPeer(Object, PivotAutomationPeer) PivotItemDataAutomationPeer(Object, PivotAutomationPeer)

Initializes a new instance of the PivotItemDataAutomationPeer class.

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

The specific data item.

parent
PivotAutomationPeer PivotAutomationPeer PivotAutomationPeer PivotAutomationPeer

The automation peer for the Pivot object that contains the item.

Properties

IsSelected IsSelected IsSelected IsSelected

Gets a value that indicates whether an item is selected.

public : PlatForm::Boolean IsSelected { get; }public bool IsSelected { get; }Public ReadOnly Property IsSelected As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if the element is selected; otherwise, false.

SelectionContainer SelectionContainer SelectionContainer SelectionContainer

Gets the UI automation provider that implements ISelectionProvider and acts as the container for the calling object.

public : IRawElementProviderSimple SelectionContainer { get; }public IRawElementProviderSimple SelectionContainer { get; }Public ReadOnly Property SelectionContainer As IRawElementProviderSimple// This API is not available in Javascript.

Methods

AddToSelection() AddToSelection() AddToSelection() AddToSelection()

Adds the current element to the collection of selected items.

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

Realize() Realize() Realize() Realize()

Makes the virtual item fully accessible as a Microsoft UI Automation element.

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

RemoveFromSelection() RemoveFromSelection() RemoveFromSelection() RemoveFromSelection()

Removes the current element from the collection of selected items.

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

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

Scrolls the content area of the parent container in order to display the item 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.

Select() Select() Select() Select()

Clears any existing selection and then selects the current element.

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

See Also