17 references to CheckBoxRenderer
System.Windows.Forms (17)
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (4)
222
CheckBoxRenderer
.DrawCheckBox(g, new Point(layout.checkBounds.Left, layout.checkBounds.Top),
CheckBoxRenderer
.ConvertFromButtonState(style, true, Control.MouseIsOver), Control.HandleInternal);
230
CheckBoxRenderer
.DrawCheckBox(g, new Point(layout.checkBounds.Left, layout.checkBounds.Top),
CheckBoxRenderer
.ConvertFromButtonState(style, false, Control.MouseIsOver), Control.HandleInternal);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxStandardAdapter.cs (2)
114
layout.checkSize =
CheckBoxRenderer
.GetGlyphSize(g,
CheckBoxRenderer
.ConvertFromButtonState(GetState(), true, Control.MouseIsOver), Control.HandleInternal).Width;
winforms\Managed\System\WinForms\CheckedListBox.cs (4)
681
VisualStyles.CheckBoxState cbState =
CheckBoxRenderer
.ConvertFromButtonState(state, false, ((e.State & DrawItemState.HotLight) == DrawItemState.HotLight));
682
idealCheckSize = (int)(
CheckBoxRenderer
.GetGlyphSize(e.Graphics, cbState, HandleInternal)).Width;
711
VisualStyles.CheckBoxState cbState =
CheckBoxRenderer
.ConvertFromButtonState(state, false, ((e.State & DrawItemState.HotLight) == DrawItemState.HotLight));
712
CheckBoxRenderer
.DrawCheckBox(e.Graphics, new Point(box.X, box.Y), cbState, HandleInternal);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (7)
768
Size checkBoxSize =
CheckBoxRenderer
.GetGlyphSize(graphics, CheckBoxState.UncheckedNormal);
809
checkBoxSize =
CheckBoxRenderer
.GetGlyphSize(graphics, CheckBoxState.UncheckedNormal).Width - 3;
812
checkBoxSize =
CheckBoxRenderer
.GetGlyphSize(graphics, CheckBoxState.UncheckedNormal).Width - 2;
1259
themeCheckBoxState =
CheckBoxRenderer
.ConvertFromButtonState(bs, drawAsMixedCheckBox,
1263
checkBoxSize =
CheckBoxRenderer
.GetGlyphSize(g, themeCheckBoxState);
1284
checkBoxSize =
CheckBoxRenderer
.GetGlyphSize(g, CheckBoxState.UncheckedNormal);
1289
checkBoxSize =
CheckBoxRenderer
.GetGlyphSize(g, CheckBoxState.UncheckedNormal);