Share via


AutomatableTextBlock.OnCreateAutomationPeer Method

This member overrides TextBlock.OnCreateAutomationPeer().

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Protected Overrides Function OnCreateAutomationPeer As AutomationPeer
protected override AutomationPeer OnCreateAutomationPeer()
protected:
virtual AutomationPeer^ OnCreateAutomationPeer() override
abstract OnCreateAutomationPeer : unit -> AutomationPeer  
override OnCreateAutomationPeer : unit -> AutomationPeer
protected override function OnCreateAutomationPeer() : AutomationPeer

Return Value

Type: System.Windows.Automation.Peers.AutomationPeer
Returns the AutomationPeer control for this class.

.NET Framework Security

See Also

Reference

AutomatableTextBlock Class

Microsoft.VisualStudio.PlatformUI Namespace