-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Automation.Peers.MenuBarAutomationPeer.#ctor(Microsoft.UI.Xaml.Controls.MenuBar) |
winrt constructor |
Initializes a new instance of the MenuBarAutomationPeer class.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
The MenuBar control instance to create the peer for.