27 references to ComboBoxState
System.Windows.Forms (22)
System\Windows\Forms\Controls\ComboBox\ComboBoxRenderer.cs (9)
26private static void DrawBackground(Graphics g, Rectangle bounds, ComboBoxState state) 32if (state != ComboBoxState.Disabled) 48public static void DrawTextBox(Graphics g, Rectangle bounds, ComboBoxState state) 58public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, ComboBoxState state) 66public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, Rectangle textBounds, ComboBoxState state) 74public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, TextFormatFlags flags, ComboBoxState state) 86public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, Rectangle textBounds, TextFormatFlags flags, ComboBoxState state) 98public static void DrawDropDownButton(Graphics g, Rectangle bounds, ComboBoxState state) 111internal static void DrawDropDownButtonForHandle(HDC hdc, Rectangle bounds, ComboBoxState state, HWND hwnd)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (4)
1899ComboBoxState comboBoxState = ComboBoxState.Normal; 1904comboBoxState = ComboBoxState.Hot; 2065DataGridViewComboBoxCellRenderer.DrawDropDownButton(g, dropRect, ComboBoxState.Normal);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.DataGridViewComboBoxCellRenderer.cs (4)
30public static void DrawTextBox(Graphics g, Rectangle bounds, ComboBoxState state) 35public static void DrawDropDownButton(Graphics g, Rectangle bounds, ComboBoxState state) 55public static void DrawDropDownButton(Graphics g, Rectangle bounds, ComboBoxState state, bool rightToLeft) 69public static void DrawReadOnlyButton(Graphics g, Rectangle bounds, ComboBoxState state)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (5)
73ComboBoxState state = ComboBoxState.Normal; 77state = ComboBoxState.Pressed; 81state = ComboBoxState.Hot; 85if (state == ComboBoxState.Normal)
System.Windows.Forms.Design (5)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.EditorButton.cs (5)
76ComboBoxState state = ComboBoxState.Normal; 81state = ComboBoxState.Pressed; 85state = ComboBoxState.Hot; 90state = ComboBoxState.Disabled;