DesignerAction Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Associates an action taken on an activity designer on the workflow design surface with the ActivityDesigner. This class cannot be inherited.

public ref class DesignerAction sealed
public sealed class DesignerAction
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class DesignerAction
type DesignerAction = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type DesignerAction = class
Public NotInheritable Class DesignerAction
Inheritance
DesignerAction
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

A designer action is a user action that is performed when you activate a designer glyph on the workflow design surface. The DesignerAction class is used to indicate your actions. The DesignerAction class is also used to add the task items by the adornment service.

Constructors

DesignerAction(ActivityDesigner, Int32, String)

Initializes a new instance of the DesignerAction class by using an ActivityDesigner, an integer, and a string.

DesignerAction(ActivityDesigner, Int32, String, Image)

Initializes a new instance of the DesignerAction class by using ActivityDesigner, an integer, a string, and an Image.

Properties

ActionId

Gets the identifier for the designer action.

Image

Gets the image associated with the designer action.

PropertyName

Represents the name of the property that the DesignerAction is associated with.

Text

Gets the text associated with the designer action.

UserData

Gets a dictionary of user data associated with the designer action.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Invoke()

Invokes the OnExecuteDesignerAction(DesignerAction) method of the activity designer associated with the current designer action.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also