Dela via


MenuBarItemAutomationPeer.Invoke Method

Definition

Sends a request to click the MenuBarItem associated with the automation peer.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Automation.Peers.MenuBarItemAutomationPeer.Invoke (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 virtual void Invoke() = Invoke;
void Invoke();
public void Invoke();
function invoke()
Public Sub Invoke ()

Implements

Applies to