Compartir a través de


TextBlock.OnCreateAutomationPeer Método

Definición

Crea y devuelve un objeto AutomationPeer para este control TextBlock.

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

Devoluciones

AutomationPeer

Un objeto AutomationPeer para este TextBlock.

Comentarios

Este método invalida ContentElement.OnCreateAutomationPeer.

Se aplica a