共用方式為


TreeViewDataItemAutomationPeer.GetAutomationControlTypeCore 方法

定義

取得與此 TreeViewItem 相關聯之 TreeViewDataItemAutomationPeer 的控制項型別。 由 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

傳回

AutomationControlType

所有情況下都是 TreeItem

適用於