共用方式為


RibbonContextMenuAutomationPeer(RibbonContextMenu) 建構函式

定義

初始化 RibbonContextMenuAutomationPeer 類別的新執行個體。

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

參數

owner
RibbonContextMenu

與這個自動化對等相關聯的項目。

適用於