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