편집

다음을 통해 공유


TextBlock.OnCreateAutomationPeer Method

Definition

Creates and returns an AutomationPeer object for this 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

Returns

An AutomationPeer object for this TextBlock.

Remarks

This method overrides ContentElement.OnCreateAutomationPeer.

Applies to