-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Automation.Peers.FlipViewAutomationPeer |
winrt class |
Exposes FlipView types to Microsoft UI Automation.
The Windows Runtime FlipView class creates a new FlipViewAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from FlipViewAutomationPeer if you are deriving a custom class from FlipView and want to add automation support for additional features that you enabled in your custom class. Then override OnCreateAutomationPeer so that it returns your custom peer.
FlipViewAutomationPeer 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 provides pattern support for these patterns:
- PatternInterface.Selection (ISelectionProvider)
- PatternInterface.ItemContainer (IItemContainerProvider) This is the accumulated pattern support from each of the peer base classes.
- GetClassName returns "FlipView".
- GetAutomationControlType returns AutomationControlType.List.
- GetChildren returns peers (FlipViewItemAutomationPeer instances) for the item content. 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.
FlipView, SelectorAutomationPeer, IItemContainerProvider, ISelectionProvider, Custom automation peers