編輯

共用方式為


MenuAutomationPeer(Menu) Constructor

Definition

Initializes a new instance of the MenuAutomationPeer class.

public:
 MenuAutomationPeer(System::Windows::Controls::Menu ^ owner);
public MenuAutomationPeer (System.Windows.Controls.Menu owner);
new System.Windows.Automation.Peers.MenuAutomationPeer : System.Windows.Controls.Menu -> System.Windows.Automation.Peers.MenuAutomationPeer
Public Sub New (owner As Menu)

Parameters

owner
Menu

The Menu that is associated with this MenuAutomationPeer.

Applies to