1 write to field
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
1202
layout.
field
= field;
25 references to field
System.Windows.Forms (25)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (20)
1123
layout.focus = layout.
field
;
1232
layout.
field
.X += checkSizeFull + 1;
1233
layout.
field
.Width -= checkSizeFull + 1;
1244
layout.
field
.Width -= checkSizeFull + 1;
1253
layout.
field
.Y += checkSizeFull;
1254
layout.
field
.Height -= checkSizeFull;
1264
layout.
field
.Height -= checkSizeFull;
1309
Rectangle maxBounds = Rectangle.Inflate(layout.
field
, -textImageInset, -textImageInset);
1374
int textBottom = Math.Min(layout.textBounds.Bottom, layout.
field
.Bottom);
1375
layout.textBounds.Y = Math.Max(Math.Min(layout.textBounds.Y, layout.
field
.Y + (layout.
field
.Height - layout.textBounds.Height)/2), layout.
field
.Y);
1380
int textRight = Math.Min(layout.textBounds.Right, layout.
field
.Right);
1381
layout.textBounds.X = Math.Max(Math.Min(layout.textBounds.X, layout.
field
.X + (layout.
field
.Width - layout.textBounds.Width)/2), layout.
field
.X);
1395
layout.textBounds = Rectangle.Intersect(layout.textBounds, layout.
field
);
1406
layout.imageBounds = Rectangle.Intersect(layout.imageBounds, layout.
field
);
1427
bottom = Math.Min(layout.textBounds.Bottom, layout.
field
.Bottom);
1428
layout.textBounds.Y = Math.Max(layout.textBounds.Y, layout.
field
.Y);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
283
layout.focus = Control.AutoSize ? Rectangle.Inflate(layout.checkBounds, -2, -2) : layout.
field
;
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (1)
203
layout.focus = Control.AutoSize ? layout.checkBounds : layout.
field
;
winforms\Managed\System\WinForms\ToolStripItem.cs (3)
4625
imageRect.Intersect(layoutData.
field
);
4655
textRect.Intersect(layoutData.
field
);
4662
return LayoutData.
field
;