Share via


RibbonGalleryItemDataAutomationPeer.GetAutomationControlTypeCore 方法

定义

获取与此 RibbonGalleryItem 关联的 RibbonGalleryItemDataAutomationPeer 的控件类型。 此方法由 GetAutomationControlType() 调用。

protected:
 override System::Windows::Automation::Peers::AutomationControlType GetAutomationControlTypeCore();
protected override System.Windows.Automation.Peers.AutomationControlType GetAutomationControlTypeCore ();
override this.GetAutomationControlTypeCore : unit -> System.Windows.Automation.Peers.AutomationControlType
Protected Overrides Function GetAutomationControlTypeCore () As AutomationControlType

返回

ListItem 枚举值。

适用于