Symphony Framework
MoveToState(String,Boolean) Method
Symphony.Conductor.ViewModel Namespace > BaseViewModel Class > MoveToState Method : MoveToState(String,Boolean) Method
A string specifying the name of the visual state to navigate to.
If true, force update of the user interface.
Allow navigation to a visual state.
Syntax
public bool MoveToState( 
   string state,
   bool forceUpdate
)

Parameters

state
A string specifying the name of the visual state to navigate to.
forceUpdate
If true, force update of the user interface.

Return Value

True is the move request was successful, otherwise false.
Remarks
By using this version of the MoveToState method you can force the user interface to update. This is useful for long running tasks which may not require the user interface to update.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseViewModel Class
BaseViewModel Members
Overload List