編輯

共用方式為


RibbonGalleryItemDataAutomationPeer Constructor

Definition

Creates a new instance of the RibbonGalleryItemDataAutomationPeer class.

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)

Parameters

owner
Object

The RibbonGalleryItem that is associated with this RibbonGalleryItemDataAutomationPeer.

itemsControlAutomationPeer
ItemsControlAutomationPeer

The automation peer that is associated with the RibbonGalleryCategory that holds the RibbonGalleryItem.

parentCategoryDataAutomationPeer
RibbonGalleryCategoryDataAutomationPeer

The automation peer that is associated with the RibbonGalleryCategory.

Applies to