MahApps.Metro.Controls.ToggleSwitch.ChangeVisualState C# (CSharp) Method

ChangeVisualState() private method

private ChangeVisualState ( bool useTransitions ) : void
useTransitions bool
return void
        private void ChangeVisualState(bool useTransitions)
        {
            VisualStateManager.GoToState(this, IsEnabled ? NormalState : DisabledState, useTransitions);
        }