Transitions a control to specified visual state.

Namespace: FirstFloor.SilverlightSpy.Interop.Services
Assembly: FirstFloor.SilverlightSpy.Interop (in FirstFloor.SilverlightSpy.Interop.dll) Version: 4.0.0.0 (4.0.5.0)

Syntax

C#
public bool GoToVisualState(
	Guid objectId,
	string state,
	bool useTransitions
)
Visual Basic
Public Function GoToVisualState ( _
	objectId As Guid, _
	state As String, _
	useTransitions As Boolean _
) As Boolean
Visual C++
public:
bool GoToVisualState(
	Guid objectId, 
	String^ state, 
	bool useTransitions
)

Parameters

objectId
Type: System..::..Guid
The object id.
state
Type: System..::..String
The state.
useTransitions
Type: System..::..Boolean
if set to true use transitions.

Return Value

A value indicating whether a transiton has stated

See Also