MenuBarItemAutomationPeer.Invoke Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ()