34 references to ComboBoxState
System.Windows.Forms (29)
System\Windows\Forms\Controls\ComboBox\ComboBoxRenderer.cs (9)
30private static void DrawBackground(Graphics g, Rectangle bounds, ComboBoxState state) 36if (state != ComboBoxState.Disabled) 52public static void DrawTextBox(Graphics g, Rectangle bounds, ComboBoxState state) 62public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, ComboBoxState state) 70public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, Rectangle textBounds, ComboBoxState state) 78public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, TextFormatFlags flags, ComboBoxState state) 90public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, Rectangle textBounds, TextFormatFlags flags, ComboBoxState state) 102public static void DrawDropDownButton(Graphics g, Rectangle bounds, ComboBoxState state) 115internal 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 (12)
83ComboBoxState state = ComboBoxState.Normal; 87state = ComboBoxState.Disabled; 91state = ComboBoxState.Pressed; 95state = ComboBoxState.Hot; 99state = ComboBoxState.Focused; 108ComboBoxState.Disabled => ModernControlButtonState.Disabled, 109ComboBoxState.Hot => ModernControlButtonState.Hover, 110ComboBoxState.Pressed => ModernControlButtonState.Pressed, 111ComboBoxState.Focused => ModernControlButtonState.Focused, 131private void RenderComboBoxButtonWithVisualStyles(PaintEventArgs pevent, ComboBoxState state) 135if (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;