MenuBarAutomationPeer(MenuBar) Constructor
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.
Initializes a new instance of the MenuBarAutomationPeer class using the specified MenuBar.
Equivalent WinUI 2 API for UWP: MenuBarAutomationPeer(MenuBar) Constructor (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
MenuBarAutomationPeer(MenuBar const& owner);
public MenuBarAutomationPeer(MenuBar owner);
function MenuBarAutomationPeer(owner)
Public Sub New (owner As MenuBar)