FlyoutPresenterAutomationPeer
FlyoutPresenterAutomationPeer
FlyoutPresenterAutomationPeer
FlyoutPresenterAutomationPeer
Class
Definition
Exposes FlyoutPresenter types to Microsoft UI Automation.
public : class FlyoutPresenterAutomationPeer : FrameworkElementAutomationPeer, IFlyoutPresenterAutomationPeerpublic class FlyoutPresenterAutomationPeer : FrameworkElementAutomationPeer, IFlyoutPresenterAutomationPeerPublic Class FlyoutPresenterAutomationPeer Inherits FrameworkElementAutomationPeer Implements IFlyoutPresenterAutomationPeer// This API is not available in Javascript.
- Inheritance
-
FrameworkElementAutomationPeerFrameworkElementAutomationPeerFrameworkElementAutomationPeerFrameworkElementAutomationPeerFlyoutPresenterAutomationPeerFlyoutPresenterAutomationPeerFlyoutPresenterAutomationPeerFlyoutPresenterAutomationPeer
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
Inherited properties
Remarks
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.
Default peer implementation and overrides in FlyoutPresenterAutomationPeer
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.
Constructors
FlyoutPresenterAutomationPeer(FlyoutPresenter) FlyoutPresenterAutomationPeer(FlyoutPresenter) FlyoutPresenterAutomationPeer(FlyoutPresenter) FlyoutPresenterAutomationPeer(FlyoutPresenter)
Initializes a new instance of the FlyoutPresenterAutomationPeer class.
public : FlyoutPresenterAutomationPeer(FlyoutPresenter owner)public FlyoutPresenterAutomationPeer(FlyoutPresenter owner)Public Sub New(owner As FlyoutPresenter)// This API is not available in Javascript.
The FlyoutPresenter to create the peer for.
- See Also