ArcFM Desktop Developer Guide
GoToState Method


The control who's state is changing.
The new state that the control is in.
Whether to use transition animations.
Transitions a control's state.
Syntax
'Declaration
 
Public Shared Function GoToState( _
   ByVal control As Control, _
   ByVal stateName As String, _
   ByVal useTransitions As Boolean _
) As Boolean
'Usage
 
Dim control As Control
Dim stateName As String
Dim useTransitions As Boolean
Dim value As Boolean
 
value = VisualStateManager.GoToState(control, stateName, useTransitions)
public static bool GoToState( 
   Control control,
   string stateName,
   bool useTransitions
)

Parameters

control
The control who's state is changing.
stateName
The new state that the control is in.
useTransitions
Whether to use transition animations.

Return Value

true if the state changed successfully, false otherwise.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

VisualStateManager Class
VisualStateManager Members

 

 


Send Comment