Edytuj

Udostępnij za pośrednictwem


TreeViewItem.OnCreateAutomationPeer Method

Definition

Defines an AutomationPeer for the TreeViewItem.

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

Returns

A TreeViewItemAutomationPeer object for the TreeViewItem.

Applies to