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

与此自动化同级相关联的元素。

适用于