RibbonGalleryItemDataAutomationPeer.GetAutomationControlTypeCore 方法

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

命名空间:  Microsoft.Windows.Automation.Peers
程序集:  RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)

语法

声明
Protected Overrides Function GetAutomationControlTypeCore As AutomationControlType
protected override AutomationControlType GetAutomationControlTypeCore()
protected:
virtual AutomationControlType GetAutomationControlTypeCore() override
abstract GetAutomationControlTypeCore : unit -> AutomationControlType 
override GetAutomationControlTypeCore : unit -> AutomationControlType 
protected override function GetAutomationControlTypeCore() : AutomationControlType

返回值

类型:System.Windows.Automation.Peers.AutomationControlType
ListItem 枚举值。

.NET Framework 安全性

请参见

参考

RibbonGalleryItemDataAutomationPeer 类

Microsoft.Windows.Automation.Peers 命名空间