State Service Class
Enables the preservation and accessing of all data values associated with the user interaction components of a workflow application, at a particular point in time in the running of a workflow application. A ViewStateService stores view states for model items.
public ref class ViewStateService abstract
public abstract class ViewStateService
type ViewStateService = class
Public MustInherit Class ViewStateService
This is useful so that the state can keep being retrieved when control of the application goes and comes with postbacks. ViewStateService is an abstract class. Derived classes must store view states when StoreViewState is called, and retrieve them when RetrieveViewState is called.
Initiates a new instance of the ViewStateService class.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
When implemented in a derived class, removes the view state represented by the specified key and associated with the specified model item.
Returns an aspect of the view state that was stored for the specified
Retrieves an aspect of the view state for the specified
|StoreViewState(ModelItem, String, Object)||
Stores an aspect of the view state for the specified
|StoreViewStateWithUndo(ModelItem, String, Object)||
When implemented in a derived class, records the current setting of the item represented by the specified key so that it is available for an undo operation. The item represented by the specified key is then stored in the view state of the specified model item.
Returns a string that represents the current object.(Inherited from Object)
When implemented in a derived class, declares an event that signals that a change has been made to the control's undoable view state.
When implemented in a derived class, declares an event that signals that a change has been made to the control's view state.