Gets the current visual states of specified control.

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 string[] GetCurrentVisualStates(
	Guid objectId
)
Visual Basic
Public Function GetCurrentVisualStates ( _
	objectId As Guid _
) As String()
Visual C++
public:
array<String^>^ GetCurrentVisualStates(
	Guid objectId
)

Parameters

objectId
Type: System..::..Guid
The object id.

Return Value

An array of the current visual states

Remarks

Returns null if the referenced object could not be found or does not have states defined.

See Also