RibbonMenuItemAutomationPeer(RibbonMenuItem) 构造函数

定义

初始化 RibbonMenuItemAutomationPeer 类的新实例。

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

参数

owner
RibbonMenuItem

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

适用于