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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace