27 references to ComboBoxState
System.Windows.Forms (22)
System\Windows\Forms\Controls\ComboBox\ComboBoxRenderer.cs (9)
26
private static void DrawBackground(Graphics g, Rectangle bounds,
ComboBoxState
state)
32
if (state !=
ComboBoxState
.Disabled)
48
public static void DrawTextBox(Graphics g, Rectangle bounds,
ComboBoxState
state)
58
public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font,
ComboBoxState
state)
66
public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, Rectangle textBounds,
ComboBoxState
state)
74
public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, TextFormatFlags flags,
ComboBoxState
state)
86
public static void DrawTextBox(Graphics g, Rectangle bounds, string? comboBoxText, Font? font, Rectangle textBounds, TextFormatFlags flags,
ComboBoxState
state)
98
public static void DrawDropDownButton(Graphics g, Rectangle bounds,
ComboBoxState
state)
111
internal static void DrawDropDownButtonForHandle(HDC hdc, Rectangle bounds,
ComboBoxState
state, HWND hwnd)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (4)
1899
ComboBoxState
comboBoxState =
ComboBoxState
.Normal;
1904
comboBoxState =
ComboBoxState
.Hot;
2065
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 (5)
73
ComboBoxState
state =
ComboBoxState
.Normal;
77
state =
ComboBoxState
.Pressed;
81
state =
ComboBoxState
.Hot;
85
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;