共用方式為


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 相關聯的自動化對等。

適用於