Condividi tramite


UserControl.OnCreateAutomationPeer Metodo

Definizione

Crea e restituisce un oggetto AutomationPeer per questo oggetto UserControl.

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

Nuovo oggetto UserControlAutomationPeer per UserControl.

Si applica a