34 references to ComboBoxState
System.Windows.Forms (29)
System\Windows\Forms\Controls\ComboBox\ComboBoxRenderer.cs (9)
30
private static void DrawBackground(Graphics g, Rectangle bounds,
ComboBoxState
state)
36
if (state !=
ComboBoxState
.Disabled)
52
public static void DrawTextBox(Graphics g, Rectangle bounds,
ComboBoxState
state)
62
public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font,
ComboBoxState
state)
70
public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, Rectangle textBounds,
ComboBoxState
state)
78
public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, TextFormatFlags flags,
ComboBoxState
state)
90
public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, Rectangle textBounds, TextFormatFlags flags,
ComboBoxState
state)
102
public static void DrawDropDownButton(Graphics g, Rectangle bounds,
ComboBoxState
state)
115
internal static void DrawDropDownButtonForHandle(HDC hdc, Rectangle bounds,
ComboBoxState
state, HWND hwnd)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (4)
1896
ComboBoxState
comboBoxState =
ComboBoxState
.Normal;
1901
comboBoxState =
ComboBoxState
.Hot;
2062
DataGridViewComboBoxCellRenderer.DrawDropDownButton(g, dropRect,
ComboBoxState
.Normal);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.DataGridViewComboBoxCellRenderer.cs (4)
30
public static void DrawTextBox(Graphics g, Rectangle bounds,
ComboBoxState
state)
35
public static void DrawDropDownButton(Graphics g, Rectangle bounds,
ComboBoxState
state)
55
public static void DrawDropDownButton(Graphics g, Rectangle bounds,
ComboBoxState
state, bool rightToLeft)
69
public static void DrawReadOnlyButton(Graphics g, Rectangle bounds,
ComboBoxState
state)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (12)
83
ComboBoxState
state =
ComboBoxState
.Normal;
87
state =
ComboBoxState
.Disabled;
91
state =
ComboBoxState
.Pressed;
95
state =
ComboBoxState
.Hot;
99
state =
ComboBoxState
.Focused;
108
ComboBoxState
.Disabled => ModernControlButtonState.Disabled,
109
ComboBoxState
.Hot => ModernControlButtonState.Hover,
110
ComboBoxState
.Pressed => ModernControlButtonState.Pressed,
111
ComboBoxState
.Focused => ModernControlButtonState.Focused,
131
private void RenderComboBoxButtonWithVisualStyles(PaintEventArgs pevent,
ComboBoxState
state)
135
if (state ==
ComboBoxState
.Normal)
System.Windows.Forms.Design (5)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.EditorButton.cs (5)
76
ComboBoxState
state =
ComboBoxState
.Normal;
81
state =
ComboBoxState
.Pressed;
85
state =
ComboBoxState
.Hot;
90
state =
ComboBoxState
.Disabled;