RibbonGalleryItemDataAutomationPeer 构造函数

定义

创建 RibbonGalleryItemDataAutomationPeer 类的新实例。

public:
 RibbonGalleryItemDataAutomationPeer(System::Object ^ owner, System::Windows::Automation::Peers::ItemsControlAutomationPeer ^ itemsControlAutomationPeer, System::Windows::Automation::Peers::RibbonGalleryCategoryDataAutomationPeer ^ parentCategoryDataAutomationPeer);
public RibbonGalleryItemDataAutomationPeer (object owner, System.Windows.Automation.Peers.ItemsControlAutomationPeer itemsControlAutomationPeer, System.Windows.Automation.Peers.RibbonGalleryCategoryDataAutomationPeer parentCategoryDataAutomationPeer);
new System.Windows.Automation.Peers.RibbonGalleryItemDataAutomationPeer : obj * System.Windows.Automation.Peers.ItemsControlAutomationPeer * System.Windows.Automation.Peers.RibbonGalleryCategoryDataAutomationPeer -> System.Windows.Automation.Peers.RibbonGalleryItemDataAutomationPeer
Public Sub New (owner As Object, itemsControlAutomationPeer As ItemsControlAutomationPeer, parentCategoryDataAutomationPeer As RibbonGalleryCategoryDataAutomationPeer)

参数

itemsControlAutomationPeer
ItemsControlAutomationPeer

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

parentCategoryDataAutomationPeer
RibbonGalleryCategoryDataAutomationPeer

RibbonGalleryCategory 关联的的自动化对等方。

适用于