38 references to Checked
System.Windows.Forms (38)
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
201
style |= ButtonState.
Checked
;
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (1)
159
style |= ButtonState.
Checked
;
winforms\Managed\System\WinForms\ButtonState.cs (1)
86
All = Flat |
Checked
| Pushed | Inactive,
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (8)
249
return ButtonState.
Checked
;
251
return (ButtonState.
Checked
| ButtonState.Pushed);
253
return (ButtonState.
Checked
| ButtonState.Inactive);
263
return ButtonState.
Checked
;
265
return (ButtonState.
Checked
| ButtonState.Pushed);
267
return (ButtonState.
Checked
| ButtonState.Inactive);
288
else if ((state & ButtonState.
Checked
) == ButtonState.
Checked
) {
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
670
state |= ButtonState.
Checked
;
673
state |= ButtonState.
Checked
| ButtonState.Inactive;
winforms\Managed\System\WinForms\ControlPaint.cs (2)
1268
if ((state & ButtonState.
Checked
) == ButtonState.
Checked
) {
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (2)
386
checkedState = ((bool)value ? ButtonState.
Checked
: ButtonState.Normal);
403
ControlPaint.DrawMixedCheckBox(g, box, ButtonState.
Checked
);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (9)
65
Debug.Assert((value & ~(ButtonState.Normal | ButtonState.Pushed | ButtonState.
Checked
)) == 0);
515
UpdateButtonState(this.ButtonState | ButtonState.
Checked
, rowIndex);
529
UpdateButtonState(this.ButtonState & ~ButtonState.
Checked
, rowIndex);
766
if ((this.ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0)
809
if ((this.ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0)
871
if ((this.ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0)
948
if ((this.ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0 ||
980
if ((this.ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0 ||
1017
if ((this.ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0 &&
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (7)
216
Debug.Assert((value & ~(ButtonState.Normal | ButtonState.Pushed | ButtonState.
Checked
)) == 0);
946
UpdateButtonState(this.ButtonState | ButtonState.
Checked
, rowIndex);
960
UpdateButtonState(this.ButtonState & ~ButtonState.
Checked
, rowIndex);
1191
bs = (checkState == CheckState.Unchecked) ? ButtonState.Normal : ButtonState.
Checked
;
1199
bs = ButtonState.
Checked
;
1213
if ((this.ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0)
1468
if ((this.ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0)
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (5)
235
return ButtonState.
Checked
;
237
return (ButtonState.
Checked
| ButtonState.Pushed);
239
return (ButtonState.
Checked
| ButtonState.Inactive);
252
if ((state & ButtonState.
Checked
) == ButtonState.
Checked
) {