1 write to Field
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
365
layout.
Field
= field;
25 references to Field
System.Windows.Forms (25)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (20)
272
layout.Focus = layout.
Field
;
405
layout.
Field
.X += checkSizeFull + 1;
406
layout.
Field
.Width -= checkSizeFull + 1;
417
layout.
Field
.Width -= checkSizeFull + 1;
426
layout.
Field
.Y += checkSizeFull;
427
layout.
Field
.Height -= checkSizeFull;
437
layout.
Field
.Height -= checkSizeFull;
483
Rectangle maxBounds = Rectangle.Inflate(layout.
Field
, -TextImageInset, -TextImageInset);
578
int textBottom = Math.Min(layout.TextBounds.Bottom, layout.
Field
.Bottom);
580
Math.Min(layout.TextBounds.Y, layout.
Field
.Y + (layout.
Field
.Height - layout.TextBounds.Height) / 2),
581
layout.
Field
.Y);
588
int textRight = Math.Min(layout.TextBounds.Right, layout.
Field
.Right);
590
Math.Min(layout.TextBounds.X, layout.
Field
.X + (layout.
Field
.Width - layout.TextBounds.Width) / 2),
591
layout.
Field
.X);
614
layout.TextBounds = Rectangle.Intersect(layout.TextBounds, layout.
Field
);
629
layout.ImageBounds = Rectangle.Intersect(layout.ImageBounds, layout.
Field
);
652
bottom = Math.Min(layout.TextBounds.Bottom, layout.
Field
.Bottom);
653
layout.TextBounds.Y = Math.Max(layout.TextBounds.Y, layout.
Field
.Y);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
336
layout.Focus = Control.AutoSize ? Rectangle.Inflate(layout.CheckBounds, -2, -2) : layout.
Field
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (1)
227
layout.Focus = Control.AutoSize ? layout.CheckBounds : layout.
Field
;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (3)
38
imageRect.Intersect(layoutData.
Field
);
62
textRect.Intersect(layoutData.
Field
);
67
public virtual Rectangle ContentRectangle => LayoutData.
Field
;