Delen via


MenuBarAutomationPeer(MenuBar) Constructor

Definition

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)

Parameters

owner
MenuBar

The specified MenuBar.

Applies to