AnimatGuiCtrls.Controls.DropDownControlBase.GetTextBoxState C# (CSharp) Method

GetTextBoxState() private method

Determines the state in which to render the textbox portion of the control (when using visual styles).
private GetTextBoxState ( ) : ComboBoxState
return ComboBoxState
        private ComboBoxState GetTextBoxState()
        {
            if (!Enabled)
                return ComboBoxState.Disabled;
            else if (Focused || ClientRectangle.Contains(PointToClient(Cursor.Position)))
                return ComboBoxState.Hot;
            else
                return ComboBoxState.Normal;
        }