RibbonControlDataAutomationPeer(Object, ItemsControlAutomationPeer) 构造函数

定义

初始化 RibbonControlDataAutomationPeer 类的新实例。

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

参数

item
Object

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

itemsControlPeer
ItemsControlAutomationPeer

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

适用于