Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WorkflowDesigner Class
Collapse the table of content
Expand the table of content

WorkflowDesigner Class

.NET Framework 4.6 and 4.5

Provides a designer canvas, which renders the visual representation of a workflow model as it is being designed.


Namespace:  System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public class WorkflowDesigner

The WorkflowDesigner type exposes the following members.

Public methodWorkflowDesignerInitializes a new instance of the WorkflowDesigner class.

Public propertyContextGets an EditingContext object that is a collection of services shared between all elements contained in the designer and used to interact between the host and the designer. Services are published and requested through the EditingContext.
Public propertyContextMenuGets the context menu for this designer.
Public propertyDebugManagerViewGets a DebuggerService that is used for run-time debugging.
Public propertyOutlineViewGets the outline view of the workflow designer.
Public propertyPropertyInspectorFontAndColorDataSets the font and color data for the property inspector in a serialized, dictionary format.
Public propertyPropertyInspectorViewGets the property inspector, which is commonly known as the property grid.
Public propertyTextGets or sets the XAML string representation of the workflow.
Public propertyViewGets a UI element that allows the user to view and edit the workflow visually. This UI element is commonly referred to as the workflow canvas.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodFlushSaves the current state of the workflow to the Text property.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsInErrorStateIndicates whether the Windows Workflow Designer is in error state.
Public methodLoad()Loads a workflow from the XAML contained in the Text property.
Public methodLoad(Object)Loads a workflow with the specified instance.
Public methodLoad(String)Loads a workflow from the XAML contained in the specified file.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSaveSaves the workflow to an XAML file.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventModelChangedRepresents the event handler that goes into effect when something in the workflow model changes.
Public eventTextChangedOccurs when the Text property value changes.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft