Condividi tramite


Button.OnCreateAutomationPeer Metodo

Definizione

Crea un controllo appropriato ButtonAutomationPeer come parte dell'infrastruttura WPF.

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

Restituisce

AutomationPeer

Oggetto ButtonAutomationPeer del controllo.

Si applica a