33 references to Normal
System.Windows.Forms (31)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
238
style |= ButtonState.
Normal
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (1)
178
style |= ButtonState.
Normal
;
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (1)
285
_ => ButtonState.
Normal
,
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (1)
266
_ => ButtonState.
Normal
,
System\Windows\Forms\Controls\Buttons\RadioButtonRenderer.cs (1)
275
_ => ButtonState.
Normal
,
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (7)
40
get => Properties.GetValueOrDefault(s_propButtonCellState, ButtonState.
Normal
);
45
Debug.Assert((value & ~(ButtonState.
Normal
| ButtonState.Pushed | ButtonState.Checked)) == 0);
48
Properties.AddOrRemoveValue(s_propButtonCellState, value, defaultValue: ButtonState.
Normal
);
500
if (ButtonState != ButtonState.
Normal
)
503
UpdateButtonState(ButtonState.
Normal
, rowIndex);
750
(ButtonState == ButtonState.
Normal
) ? ButtonBorderStyle.Outset : ButtonBorderStyle.Inset);
931
bool paintUp = (ButtonState == ButtonState.
Normal
);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (8)
182
get => Properties.GetValueOrDefault(s_propButtonCellState, ButtonState.
Normal
);
187
Debug.Assert((value & ~(ButtonState.
Normal
| ButtonState.Pushed | ButtonState.Checked)) == 0);
190
Properties.AddOrRemoveValue(s_propButtonCellState, value, defaultValue: ButtonState.
Normal
);
853
if (ButtonState != ButtonState.
Normal
)
856
UpdateButtonState(ButtonState.
Normal
, rowIndex);
1090
bs = (checkState == CheckState.Unchecked) ? ButtonState.
Normal
: ButtonState.Checked;
1103
bs = ButtonState.
Normal
;
1109
bs = ButtonState.
Normal
; // Default rendering of the checkbox with wrong formatted value type.
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
803
if (ButtonState != ButtonState.
Normal
)
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (7)
31
get => Properties.GetValueOrDefault(s_propButtonState, ButtonState.
Normal
);
32
private set => Properties.AddOrRemoveValue(s_propButtonState, value, defaultValue: ButtonState.
Normal
);
438
DataGridView is not null && ButtonState != ButtonState.
Normal
&& DataGridView.ApplyVisualStylesToHeaderCells;
469
ButtonState == ButtonState.
Normal
&&
489
if (ButtonState != ButtonState.
Normal
)
494
UpdateButtonState(ButtonState.
Normal
, rowIndex);
510
UpdateButtonState(ButtonState.
Normal
, e.RowIndex);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
685
if (ButtonState != ButtonState.
Normal
)
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (1)
248
if (ButtonState != ButtonState.
Normal
)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
501
ButtonState state = ButtonState.
Normal
;
System.Windows.Forms.Design (2)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
588
ControlPaint.DrawButton(g, button, ButtonState.
Normal
);
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
208
ControlPaint.DrawButton(e.Graphics, rc, ButtonState.
Normal
);