GridViewAutomationPeer.IViewAutomationPeer.GetAutomationControlType 方法

定义

获取与此 GridViewAutomationPeer 关联的元素的控件类型。

 virtual System::Windows::Automation::Peers::AutomationControlType System.Windows.Automation.Peers.IViewAutomationPeer.GetAutomationControlType() = System::Windows::Automation::Peers::IViewAutomationPeer::GetAutomationControlType;
System.Windows.Automation.Peers.AutomationControlType IViewAutomationPeer.GetAutomationControlType ();
abstract member System.Windows.Automation.Peers.IViewAutomationPeer.GetAutomationControlType : unit -> System.Windows.Automation.Peers.AutomationControlType
override this.System.Windows.Automation.Peers.IViewAutomationPeer.GetAutomationControlType : unit -> System.Windows.Automation.Peers.AutomationControlType
Function GetAutomationControlType () As AutomationControlType Implements IViewAutomationPeer.GetAutomationControlType

返回

AutomationControlType

枚举中的一个值。

实现

注解

此成员是显式接口成员的实现。 它只能在 GridViewAutomationPeer 实例被强制转换为 IViewAutomationPeer 接口时使用。

适用于