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 关联的的自动化对等方。