1 override of Padding
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (1)
686
public override Padding
Padding
{
4 writes to Padding
System.Windows.Forms (3)
winforms\Managed\System\WinForms\MDIControlStrip.cs (2)
63
item.
Padding
= Padding.Empty;
77
system.
Padding
= Padding.Empty;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
643
menuItem.
Padding
= this.Padding;
System.WorkflowServices (1)
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (1)
68
this.toolStripLabel1.
Padding
= new System.Windows.Forms.Padding(15, 0, 0, 0);
13 references to Padding
System.Windows.Forms (13)
winforms\Managed\System\WinForms\ToolStripControlHost.cs (3)
617
return Control.GetPreferredSize(constrainingSize -
Padding
.Size) +
Padding
.Size;
812
Size size = LayoutUtils.DeflateRect(this.Bounds, this.
Padding
).Size;
winforms\Managed\System\WinForms\ToolStripItem.cs (6)
603
Rectangle content = LayoutUtils.InflateRect(InternalLayout.ContentRectangle, this.
Padding
);
1872
if (
Padding
!= value) {
2717
return InternalLayout.GetPreferredSize(constrainingSize -
Padding
.Size) +
Padding
.Size;
3698
/// <para>Determines if the <see cref='System.Windows.Forms.ToolStripItem.
Padding
'/> property needs to be persisted.</para>
3702
return (
Padding
!= DefaultPadding);
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
643
menuItem.Padding = this.
Padding
;
winforms\Managed\System\WinForms\ToolStripOverflowButton.cs (1)
116
return preferredSize + this.
Padding
.Size;
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (2)
428
preferredSize.Width += DropDownButtonWidth + SplitterWidth +
Padding
.Horizontal;
688
return this.owner.
Padding
;