FlipViewItemDataAutomationPeer
FlipViewItemDataAutomationPeer
FlipViewItemDataAutomationPeer
FlipViewItemDataAutomationPeer
Class
Definition
Exposes the data content of a FlipViewItem to Microsoft UI Automation.
public : class FlipViewItemDataAutomationPeer : SelectorItemAutomationPeer, IFlipViewItemDataAutomationPeer, IScrollItemProviderpublic class FlipViewItemDataAutomationPeer : SelectorItemAutomationPeer, IFlipViewItemDataAutomationPeer, IScrollItemProviderPublic Class FlipViewItemDataAutomationPeer Inherits SelectorItemAutomationPeer Implements IFlipViewItemDataAutomationPeer, IScrollItemProvider// This API is not available in Javascript.
- Inheritance
-
SelectorItemAutomationPeerSelectorItemAutomationPeerSelectorItemAutomationPeerSelectorItemAutomationPeerFlipViewItemDataAutomationPeerFlipViewItemDataAutomationPeerFlipViewItemDataAutomationPeerFlipViewItemDataAutomationPeer
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
Inherited properties
Remarks
FlipViewItemDataAutomationPeer is generated from FlipViewAutomationPeer logic, not an associated control class.
Default peer implementation and overrides in FlipViewItemDataAutomationPeer
FlipViewItemDataAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.
- GetPattern reports that the peer supports PatternInterface.ScrollItem (IScrollItemProvider ). The base SelectorItemAutomationPeer supports PatternInterface.SelectionItem (ISelectionItemProvider ) and the base ItemAutomationPeer supports PatternInterface.VirtualizedItem (IVirtualizedItemProvider ).
- GetClassName returns "FlipViewItem".
- GetAutomationControlType returns AutomationControlType.ListItem.
- Although ItemAutomationPeer reported IVirtualizedItemProvider support, the base didn't have a working Realize implementation. ComboBoxItemDataAutomationPeer implements this to call ScrollIntoView.
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
FlipViewItemDataAutomationPeer(Object, FlipViewAutomationPeer) FlipViewItemDataAutomationPeer(Object, FlipViewAutomationPeer) FlipViewItemDataAutomationPeer(Object, FlipViewAutomationPeer) FlipViewItemDataAutomationPeer(Object, FlipViewAutomationPeer)
Initializes a new instance of the FlipViewItemDataAutomationPeer class.
public : FlipViewItemDataAutomationPeer(PlatForm::Object item, FlipViewAutomationPeer parent)public FlipViewItemDataAutomationPeer(Object item, FlipViewAutomationPeer parent)Public Sub New(item As Object, parent As FlipViewAutomationPeer)// This API is not available in Javascript.
- item
- PlatForm::Object Object Object Object
The item data.
The owner to create for.
Methods
ScrollIntoView() ScrollIntoView() ScrollIntoView() ScrollIntoView()
Scrolls the content area of a parent container in order to display the peer owner's content 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.