1 write to CheckBounds
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
358
layout.
CheckBounds
= new Rectangle(Client.X, Client.Y, checkSizeFull, checkSizeFull);
50 references to CheckBounds
System.Windows.Forms (50)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (12)
374
layout.
CheckBounds
.X = (field.X + field.Width) - layout.
CheckBounds
.Width;
378
layout.
CheckBounds
.X = field.X + (field.Width - layout.
CheckBounds
.Width) / 2;
383
layout.
CheckBounds
.Y = (field.Y + field.Height) - layout.
CheckBounds
.Height;
387
layout.
CheckBounds
.Y = field.Y + 2; // + 2: this needs to be aligned to the text (
391
layout.
CheckBounds
.Y = field.Y + (field.Height - layout.
CheckBounds
.Height) / 2;
441
layout.CheckArea = layout.
CheckBounds
;
445
layout.
CheckBounds
.Width -= CheckPaddingSize;
446
layout.
CheckBounds
.Height -= CheckPaddingSize;
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (9)
36
Rectangle bounds = layout.
CheckBounds
;
171
Rectangle fullSize = layout.
CheckBounds
;
268
new Point(layout.
CheckBounds
.Left, layout.
CheckBounds
.Top),
274
ControlPaint.DrawMixedCheckBox(e.GraphicsInternal, layout.
CheckBounds
, style);
283
new Point(layout.
CheckBounds
.Left, layout.
CheckBounds
.Top),
289
ControlPaint.DrawCheckBox(e.GraphicsInternal, layout.
CheckBounds
, style);
336
layout.Focus = Control.AutoSize ? Rectangle.Inflate(layout.
CheckBounds
, -2, -2) : layout.Field;
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (6)
33
layout.
CheckBounds
,
40
layout.
CheckBounds
,
68
layout.
CheckBounds
,
73
DrawPopupBorder(e, layout.
CheckBounds
, colors);
109
DrawCheckBackground(e, layout.
CheckBounds
, colors.ButtonFace, disabledColors: true, colors);
110
DrawPopupBorder(e, layout.
CheckBounds
, colors);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (7)
21
DrawCheckBackgroundFlat(e, layout.
CheckBounds
, checkBorder, checkBackground);
153
layout.
CheckBounds
.X + GetScaledNumber(offset, scale),
154
layout.
CheckBounds
.Y + GetScaledNumber(offset - 1, scale),
161
layout.
CheckBounds
.X + GetScaledNumber(offset - 1, scale),
162
layout.
CheckBounds
.Y + GetScaledNumber(offset, scale),
196
Rectangle check = layout.
CheckBounds
;
227
layout.Focus = Control.AutoSize ? layout.
CheckBounds
: layout.Field;
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonPopupAdapter.cs (3)
28
layout.
CheckBounds
,
56
DrawCheckBackground3DLite(e, layout.
CheckBounds
, checkBackgroundColor, colors, disabledColors: true);
80
DrawCheckBackground3DLite(e, layout.
CheckBounds
, colors.Highlight, colors, disabledColors: true);
System\Windows\Forms\Controls\Buttons\CheckBox.cs (2)
308
return Adapter.CommonLayout().Layout().
CheckBounds
;
324
return Adapter.CommonLayout().Layout().
CheckBounds
;
System\Windows\Forms\Controls\Buttons\RadioButton.cs (2)
281
return Adapter.CommonLayout().Layout().
CheckBounds
;
289
: Adapter.CommonLayout().Layout().
CheckBounds
;
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (9)
1418
layout.
CheckBounds
,
1421
CheckBoxBaseAdapter.DrawPopupBorder(g, layout.
CheckBounds
, colors);
1433
resultBounds = layout.
CheckBounds
;
1467
layout.
CheckBounds
,
1471
CheckBoxBaseAdapter.DrawPopupBorder(g, layout.
CheckBounds
, colors);
1483
resultBounds = layout.
CheckBounds
;
1514
layout.
CheckBounds
,
1518
ControlPaint.DrawBorderSimple(g, layout.
CheckBounds
, colors.ButtonShadow);
1530
resultBounds = layout.
CheckBounds
;