27 references to ComboBoxState
System.Windows.Forms (22)
System\Windows\Forms\Controls\ComboBox\ComboBoxRenderer.cs (9)
34private static void DrawBackground(Graphics g, Rectangle bounds, ComboBoxState state) 40if (state != ComboBoxState.Disabled) 56public static void DrawTextBox(Graphics g, Rectangle bounds, ComboBoxState state) 66public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, ComboBoxState state) 74public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, Rectangle textBounds, ComboBoxState state) 82public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, TextFormatFlags flags, ComboBoxState state) 94public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, Rectangle textBounds, TextFormatFlags flags, ComboBoxState state) 106public static void DrawDropDownButton(Graphics g, Rectangle bounds, ComboBoxState state) 119internal static void DrawDropDownButtonForHandle(HDC hdc, Rectangle bounds, ComboBoxState state, HWND hwnd)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (4)
1896ComboBoxState comboBoxState = ComboBoxState.Normal; 1901comboBoxState = ComboBoxState.Hot; 2062DataGridViewComboBoxCellRenderer.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)
75ComboBoxState state = ComboBoxState.Normal; 79state = ComboBoxState.Pressed; 83state = ComboBoxState.Hot; 87if (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;