Menu​Flyout​Item​Automation​Peer Menu​Flyout​Item​Automation​Peer Menu​Flyout​Item​Automation​Peer Class

Definition

Exposes MenuFlyoutItem types to Microsoft UI Automation.

public class MenuFlyoutItemAutomationPeer : FrameworkElementAutomationPeer, IMenuFlyoutItemAutomationPeer, IInvokeProviderpublic class MenuFlyoutItemAutomationPeer : FrameworkElementAutomationPeer, IMenuFlyoutItemAutomationPeer, IInvokeProviderPublic Class MenuFlyoutItemAutomationPeer Inherits FrameworkElementAutomationPeer Implements IMenuFlyoutItemAutomationPeer, IInvokeProvider
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)

Remarks

The Windows Runtime MenuFlyoutItem class creates a new MenuFlyoutItemAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from MenuFlyoutItemAutomationPeer if you are deriving a custom class from MenuFlyoutItem 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 MenuFlyoutItemAutomationPeer

MenuFlyoutItemAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.

Constructors

MenuFlyoutItemAutomationPeer(MenuFlyoutItem) MenuFlyoutItemAutomationPeer(MenuFlyoutItem) MenuFlyoutItemAutomationPeer(MenuFlyoutItem)

Initializes a new instance of the MenuFlyoutItemAutomationPeer class.

public MenuFlyoutItemAutomationPeer(MenuFlyoutItem owner)public MenuFlyoutItemAutomationPeer(MenuFlyoutItem owner)Public Sub New(owner As MenuFlyoutItem)
Parameters
owner
MenuFlyoutItem MenuFlyoutItem MenuFlyoutItem

The owner element to create for.

Attributes

Methods

Invoke() Invoke() Invoke()

Sends a request to invoke the menu flyout associated with the automation peer.

public void Invoke()public void Invoke()Public Function Invoke() As void
Attributes