1 write to checkBounds
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
1195layout.checkBounds = new Rectangle(client.X, client.Y, checkSizeFull, checkSizeFull);
50 references to checkBounds
System.Windows.Forms (50)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (12)
1206layout.checkBounds.X = (field.X+field.Width) - layout.checkBounds.Width; 1209layout.checkBounds.X = field.X + (field.Width - layout.checkBounds.Width)/2; 1213layout.checkBounds.Y = (field.Y+field.Height)-layout.checkBounds.Height; 1216layout.checkBounds.Y = field.Y + 2; // + 2: this needs to be aligned to the text (bug 87483) 1219layout.checkBounds.Y = field.Y + (field.Height - layout.checkBounds.Height)/2; 1268layout.checkArea = layout.checkBounds; 1272layout.checkBounds.Width -= checkPaddingSize; 1273layout.checkBounds.Height -= checkPaddingSize;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (9)
44Rectangle bounds = layout.checkBounds; 144Rectangle fullSize = layout.checkBounds; 222CheckBoxRenderer.DrawCheckBox(g, new Point(layout.checkBounds.Left, layout.checkBounds.Top), CheckBoxRenderer.ConvertFromButtonState(style, true, Control.MouseIsOver), Control.HandleInternal); 225ControlPaint.DrawMixedCheckBox(g, layout.checkBounds, style); 230CheckBoxRenderer.DrawCheckBox(g, new Point(layout.checkBounds.Left, layout.checkBounds.Top), CheckBoxRenderer.ConvertFromButtonState(style, false, Control.MouseIsOver), Control.HandleInternal); 233ControlPaint.DrawCheckBox(g, layout.checkBounds, style); 283layout.focus = Control.AutoSize ? Rectangle.Inflate(layout.checkBounds, -2, -2) : layout.field;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (6)
38DrawCheckBackground(e, layout.checkBounds, colors.windowText, colors.options.highContrast ? colors.buttonFace : colors.highlight, true, colors); 39DrawFlatBorder(e.Graphics, layout.checkBounds, 63DrawCheckBackground(e, layout.checkBounds, colors.windowText, colors.options.highContrast ? colors.buttonFace : colors.highlight, true, colors); 64DrawPopupBorder(g, layout.checkBounds, colors); 92DrawCheckBackground(e, layout.checkBounds, colors.windowText, colors.buttonFace, true, colors); 93DrawPopupBorder(g, layout.checkBounds, colors);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (7)
30DrawCheckBackgroundFlat(e, layout.checkBounds, checkBorder, checkBackground); 146Rectangle vCross = new Rectangle (layout.checkBounds.X + GetScaledNumber(offset, scale), layout.checkBounds.Y + GetScaledNumber(offset - 1, scale), GetScaledNumber(2, scale), GetScaledNumber(4, scale)); 148Rectangle hCross = new Rectangle (layout.checkBounds.X + GetScaledNumber(offset - 1, scale), layout.checkBounds.Y + GetScaledNumber(offset, scale), GetScaledNumber(4, scale), GetScaledNumber(2, scale)); 180Rectangle check = layout.checkBounds; 203layout.focus = Control.AutoSize ? layout.checkBounds : layout.field;
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonPopupAdapter.cs (3)
34DrawCheckBackgroundFlat(e, layout.checkBounds, colors.buttonShadow, colors.options.highContrast ? colors.buttonFace : colors.highlight); 57DrawCheckBackground3DLite(e, layout.checkBounds, colors.windowText, checkBackgroundColor, colors, true); 79DrawCheckBackground3DLite(e, layout.checkBounds, colors.windowText, colors.highlight, colors, true);
winforms\Managed\System\WinForms\CheckBox.cs (2)
402return Adapter.CommonLayout().Layout().checkBounds; 419return Adapter.CommonLayout().Layout().checkBounds;
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (9)
1495layout.checkBounds, 1500CheckBoxBaseAdapter.DrawPopupBorder(g, layout.checkBounds, colors); 1511resultBounds = layout.checkBounds; 1542layout.checkBounds, 1547CheckBoxBaseAdapter.DrawPopupBorder(g, layout.checkBounds, colors); 1558resultBounds = layout.checkBounds; 1587layout.checkBounds, 1592ButtonBaseAdapter.DrawFlatBorder(g, layout.checkBounds, colors.buttonShadow); 1603resultBounds = layout.checkBounds;
winforms\Managed\System\WinForms\RadioButton.cs (2)
340return Adapter.CommonLayout().Layout().checkBounds; 352return Adapter.CommonLayout().Layout().checkBounds;