Core Library for WPF | ComponentOne
C1.WPF.Core Namespace / EnhancedValidationVisualStateManager Class / GoToStateCore Method

In This Topic
    GoToStateCore Method
    In This Topic
    Transitions a control between states.
    Syntax
    'Declaration
     
    
    Protected Overrides Function GoToStateCore( _
       ByVal control As FrameworkElement, _
       ByVal stateGroupsRoot As FrameworkElement, _
       ByVal stateName As String, _
       ByVal group As VisualStateGroup, _
       ByVal state As VisualState, _
       ByVal useTransitions As Boolean _
    ) As Boolean

    Parameters

    control
    stateGroupsRoot
    stateName
    group
    state
    useTransitions

    Return Value

    true if the control successfully transitioned to the new state; otherwise, false.
    See Also