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