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