ContextMenuAutomationPeer(ContextMenu) 构造函数

定义

初始化 ContextMenuAutomationPeer 类的新实例。

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

参数

适用于