Rediger

Del via


Expander.OnCreateAutomationPeer Method

Definition

Creates the implementation of AutomationPeer for the Expander control.

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 new ExpanderAutomationPeer for this Expander control.

Applies to