MenuFlyoutPresenterAutomationPeer
MenuFlyoutPresenterAutomationPeer
MenuFlyoutPresenterAutomationPeer
MenuFlyoutPresenterAutomationPeer
Class
Definition
Exposes MenuFlyoutPresenter types to Microsoft UI Automation.
public : class MenuFlyoutPresenterAutomationPeer : ItemsControlAutomationPeer, IMenuFlyoutPresenterAutomationPeerpublic class MenuFlyoutPresenterAutomationPeer : ItemsControlAutomationPeer, IMenuFlyoutPresenterAutomationPeerPublic Class MenuFlyoutPresenterAutomationPeer Inherits ItemsControlAutomationPeer Implements IMenuFlyoutPresenterAutomationPeer// This API is not available in Javascript.
- Inheritance
-
FrameworkElementAutomationPeerFrameworkElementAutomationPeerFrameworkElementAutomationPeerFrameworkElementAutomationPeerItemsControlAutomationPeerItemsControlAutomationPeerItemsControlAutomationPeerItemsControlAutomationPeerMenuFlyoutPresenterAutomationPeerMenuFlyoutPresenterAutomationPeerMenuFlyoutPresenterAutomationPeerMenuFlyoutPresenterAutomationPeer
- 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 MenuFlyoutPresenter class creates a new MenuFlyoutPresenterAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from MenuFlyoutPresenterAutomationPeer if you are deriving a custom class from MenuFlyoutPresenter 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 MenuFlyoutPresenterAutomationPeer
MenuFlyoutPresenterAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.
- GetClassName returns "MenuFlyout".
- GetAutomationControlType returns AutomationControlType.Menu. This peer has the base class ItemsControlAutomationPeer and inherits its behavior other than the overrides indicated above. This includes the pattern support for IItemContainerProvider and possibly IScrollProvider. For more info, see ItemsControlAutomationPeer.
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
MenuFlyoutPresenterAutomationPeer(MenuFlyoutPresenter) MenuFlyoutPresenterAutomationPeer(MenuFlyoutPresenter) MenuFlyoutPresenterAutomationPeer(MenuFlyoutPresenter) MenuFlyoutPresenterAutomationPeer(MenuFlyoutPresenter)
Initializes a new instance of the MenuFlyoutPresenterAutomationPeer class.
public : MenuFlyoutPresenterAutomationPeer(MenuFlyoutPresenter owner)public MenuFlyoutPresenterAutomationPeer(MenuFlyoutPresenter owner)Public Sub New(owner As MenuFlyoutPresenter)// This API is not available in Javascript.
The owner element to create for.