RibbonMenuItemDataAutomationPeer(Object, ItemsControlAutomationPeer) 构造函数

定义

初始化 RibbonMenuItemDataAutomationPeer 类的新实例。

public:
 RibbonMenuItemDataAutomationPeer(System::Object ^ item, System::Windows::Automation::Peers::ItemsControlAutomationPeer ^ itemsControlPeer);
public RibbonMenuItemDataAutomationPeer (object item, System.Windows.Automation.Peers.ItemsControlAutomationPeer itemsControlPeer);
new System.Windows.Automation.Peers.RibbonMenuItemDataAutomationPeer : obj * System.Windows.Automation.Peers.ItemsControlAutomationPeer -> System.Windows.Automation.Peers.RibbonMenuItemDataAutomationPeer
Public Sub New (item As Object, itemsControlPeer As ItemsControlAutomationPeer)

参数

item
Object

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

itemsControlPeer
ItemsControlAutomationPeer

与保存 ItemsControlRibbonMenuItem 关联的自动化对等。

适用于