Share via


WorkflowViewElement.OnCreateAutomationPeer Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a WorkflowViewElement-specific AutomationPeer implementation for the infrastructure.

Namespace:  System.Activities.Design
Assembly:  System.Activities.Design (in System.Activities.Design.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
abstract OnCreateAutomationPeer : unit -> AutomationPeer 
override OnCreateAutomationPeer : unit -> AutomationPeer 

Return Value

Type: System.Windows.Automation.Peers.AutomationPeer
The type-specific AutomationPeer implementation.

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

WorkflowViewElement Class

WorkflowViewElement Members

System.Activities.Design Namespace