WorkflowViewStateService Class

Definition

Manages the view state of the activity designer and its underlying model items.

public ref class WorkflowViewStateService : System::Activities::Presentation::View::ViewStateService
public class WorkflowViewStateService : System.Activities.Presentation.View.ViewStateService
type WorkflowViewStateService = class
    inherit ViewStateService
Public Class WorkflowViewStateService
Inherits ViewStateService
Inheritance
WorkflowViewStateService

Remarks

Implements ViewStateService and generates a text property that stores and retrieves its value from an associated control's view state.

Constructors

WorkflowViewStateService(EditingContext)

Creates an instance of the WorkflowViewStateService with a specified editing context.

Fields

ViewStateName

Specifies the name of the state.

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)
GetViewState(Object)

Retrieves the view state for a specified object.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveViewState(ModelItem, String)

Removes the view state represented by the specified key and associated with the specified model item.

RetrieveAllViewState(ModelItem)

Retrieves the complete view state associated with a specified model item.

RetrieveViewState(ModelItem, String)

Retrieves the item that matches the specified key in the view state associated with a specified model item.

SetViewState(Object, Dictionary<String,Object>)

Sets the view state on the parameter instance specified to the dictionary value that is specified.

StoreViewState(ModelItem, String, Object)

Stores the item represented by a specified key in the view state associated with a specified model item.

StoreViewStateWithUndo(ModelItem, String, Object)

Records the current setting of the item represented by the specified key so that it is available for an undo operation and then stores the item represented by the specified key in the view state of the specified model item.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

UndoableViewStateChanged

An event that signals that a change has been made to the undoable view state of the control.

ViewStateChanged

An event that signals that a change has been made to the view state of the control.

Applies to