RibbonGalleryItemDataAutomationPeer 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 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)
參數
- owner
- Object
與這個 RibbonGalleryItemDataAutomationPeer 關聯的 RibbonGalleryItem。
- itemsControlAutomationPeer
- ItemsControlAutomationPeer
與保存 RibbonGalleryCategory 之 RibbonGalleryItem 相關聯的自動化對等。
- parentCategoryDataAutomationPeer
- RibbonGalleryCategoryDataAutomationPeer
與 RibbonGalleryCategory 相關聯的自動化對等。