TreeView.OnCreateAutomationPeer 方法

定义

定义 AutomationPeer 控件的 TreeView

protected:
 override System::Windows::Automation::Peers::AutomationPeer ^ OnCreateAutomationPeer();
protected override System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer ();
override this.OnCreateAutomationPeer : unit -> System.Windows.Automation.Peers.AutomationPeer
Protected Overrides Function OnCreateAutomationPeer () As AutomationPeer

返回

TreeViewAutomationPeer 控件的一个 TreeView

适用于