WorkflowViewStateService Class
Manages the view state of the activity designer and its underlying model items.
Assembly: System.Activities.Presentation (in System.Activities.Presentation.dll)
System.Activities.Presentation.View::ViewStateService
System.Activities.Presentation.View::WorkflowViewStateService
| Name | Description | |
|---|---|---|
![]() | WorkflowViewStateService(EditingContext^) | Creates an instance of the WorkflowViewStateService with a specified editing context. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() ![]() | GetViewState(Object^) | Retrieves the view state for a specified object. |
![]() | MemberwiseClone() | |
![]() | RemoveViewState(ModelItem^, String^) | Removes the view state represented by the specified key and associated with the specified model item.(Overrides ViewStateService::RemoveViewState(ModelItem^, String^).) |
![]() | RetrieveAllViewState(ModelItem^) | Retrieves the complete view state associated with a specified model item.(Overrides ViewStateService::RetrieveAllViewState(ModelItem^).) |
![]() | RetrieveViewState(ModelItem^, String^) | Retrieves the item that matches the specified key in the view state associated with a specified model item.(Overrides ViewStateService::RetrieveViewState(ModelItem^, String^).) |
![]() ![]() | 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.(Overrides ViewStateService::StoreViewState(ModelItem^, String^, Object^).) |
![]() | 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.(Overrides ViewStateService::StoreViewStateWithUndo(ModelItem^, String^, Object^).) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ViewStateName | Specifies the name of the state. |
| Name | Description | |
|---|---|---|
![]() | UndoableViewStateChanged | An event that signals that a change has been made to the undoable view state of the control. (Overrides ViewStateService::UndoableViewStateChanged.) |
![]() | ViewStateChanged | An event that signals that a change has been made to the view state of the control.(Overrides ViewStateService::ViewStateChanged.) |
Implements ViewStateService and generates a text property that stores and retrieves its value from an associated control’s view state.
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




