System.Windows.Controls.AutoCompleteBox.UpdateVisualState C# (CSharp) Method

UpdateVisualState() private method

Update the current visual state of the button.
private UpdateVisualState ( bool useTransitions ) : void
useTransitions bool /// True to use transitions when updating the visual state, false to /// snap directly to the new visual state. ///
return void
        internal virtual void UpdateVisualState(bool useTransitions)
        {
            // Popup
            VisualStateManager.GoToState(this, IsDropDownOpen ? VisualStates.StatePopupOpened : VisualStates.StatePopupClosed, useTransitions);

            // Handle the Common and Focused states
            Interaction.UpdateVisualStateBase(useTransitions);
        }
    }