-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Automation.Peers.FlyoutPresenterAutomationPeer |
winrt class |
Exposes FlyoutPresenter types to Microsoft UI Automation.
The Windows Runtime FlyoutPresenter class creates a new FlyoutPresenterAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from FlyoutPresenterAutomationPeer if you are deriving a custom class from FlyoutPresenter 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.
FlyoutPresenterAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.
- GetClassName returns "Flyout".
- GetAutomationControlType returns AutomationControlType.Pane.
- GetPattern reports that the peer provides pattern support for PatternInterface.Invoke (IInvokeProvider). 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.