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