36 references to Checked
System.Windows.Forms (36)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
242
style |= ButtonState.
Checked
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (1)
174
style |= ButtonState.
Checked
;
System\Windows\Forms\Controls\Buttons\ButtonState.cs (1)
41
All = Flat |
Checked
| Pushed | Inactive,
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (8)
257
CheckBoxState.CheckedNormal or CheckBoxState.CheckedHot => ButtonState.
Checked
,
258
CheckBoxState.CheckedPressed => (ButtonState.
Checked
| ButtonState.Pushed),
259
CheckBoxState.CheckedDisabled => (ButtonState.
Checked
| ButtonState.Inactive),
263
CheckBoxState.MixedNormal or CheckBoxState.MixedHot => ButtonState.
Checked
,
264
CheckBoxState.MixedPressed => (ButtonState.
Checked
| ButtonState.Pushed),
265
CheckBoxState.MixedDisabled => (ButtonState.
Checked
| ButtonState.Inactive),
288
else if ((state & ButtonState.
Checked
) == ButtonState.
Checked
)
System\Windows\Forms\Controls\Buttons\RadioButtonRenderer.cs (5)
270
RadioButtonState.CheckedNormal or RadioButtonState.CheckedHot => ButtonState.
Checked
,
271
RadioButtonState.CheckedPressed => ButtonState.
Checked
| ButtonState.Pushed,
272
RadioButtonState.CheckedDisabled => ButtonState.
Checked
| ButtonState.Inactive,
280
if ((state & ButtonState.
Checked
) == ButtonState.
Checked
)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (9)
45
Debug.Assert((value & ~(ButtonState.Normal | ButtonState.Pushed | ButtonState.
Checked
)) == 0);
466
UpdateButtonState(ButtonState | ButtonState.
Checked
, rowIndex);
480
UpdateButtonState(ButtonState & ~ButtonState.
Checked
, rowIndex);
724
if ((ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0)
771
if ((ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0)
802
if ((ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0)
894
if ((ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0 ||
929
if ((ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0 ||
966
if ((ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0 &&
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (7)
187
Debug.Assert((value & ~(ButtonState.Normal | ButtonState.Pushed | ButtonState.
Checked
)) == 0);
814
UpdateButtonState(ButtonState | ButtonState.
Checked
, rowIndex);
828
UpdateButtonState(ButtonState & ~ButtonState.
Checked
, rowIndex);
1082
bs = (checkState == CheckState.Unchecked) ? ButtonState.Normal : ButtonState.
Checked
;
1090
bs = ButtonState.
Checked
;
1105
if ((ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0)
1389
if ((ButtonState & (ButtonState.Pushed | ButtonState.
Checked
)) != 0)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (2)
512
state |= ButtonState.
Checked
;
515
state |= ButtonState.
Checked
| ButtonState.Inactive;
System\Windows\Forms\Rendering\ControlPaint.cs (2)
1358
if ((state & ButtonState.
Checked
) == ButtonState.
Checked
)