Share via


DesignerView.OnCreateAutomationPeer Method

Returns an AutomationPeer for the DesignerView.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Protected Overrides Function OnCreateAutomationPeer As AutomationPeer
'Usage
Dim returnValue As AutomationPeer 

returnValue = Me.OnCreateAutomationPeer()
protected override AutomationPeer OnCreateAutomationPeer()
protected:
virtual AutomationPeer^ OnCreateAutomationPeer() override
protected override function OnCreateAutomationPeer() : AutomationPeer

Return Value

Type: System.Windows.Automation.Peers.AutomationPeer
An AutomationPeer for the DesignerView.

.NET Framework Security

See Also

Reference

DesignerView Class

DesignerView Members

Microsoft.Windows.Design.Interaction Namespace

AdornerPanel

Other Resources

Walkthrough: Creating a Design-time Adorner

Adorner Architecture