Share via


TreeViewItemAutomationPeer.GetAutomationControlTypeCore 方法

定义

获取与此 TreeViewItem 关联的 TreeViewItemAutomationPeer 的控件类型。 此方法由 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

返回

TreeItem 枚举值。

适用于

另请参阅