共用方式為


RibbonGalleryCategoryDataAutomationPeer 建構函式

定義

初始化 RibbonGalleryCategoryDataAutomationPeer 類別的新執行個體。

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

參數

owner
Object

與這個自動化對等相關聯的項目。

itemsControlAutomationPeer
ItemsControlAutomationPeer

與保存 RibbonGalleryRibbonGalleryCategory 相關聯的自動化對等。

適用於