2 writes to Margin
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (2)
79
this.
Margin
= DefaultMargin;
367
this.
Margin
= DefaultMargin;
16 references to Margin
System.Windows.Forms (16)
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
1204
Rectangle bounds = LayoutUtils.InflateRect(row.Bounds, row.
Margin
);
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (15)
212
set { if (
Margin
!= value ) CommonProperties.SetMargin(this, value); }
945
displayRect.Width = ToolStripPanel.ParentInternal.DisplayRectangle.Width - (ToolStripPanel.Margin.Horizontal + ToolStripPanel.Padding.Horizontal) - Row.
Margin
.Horizontal;
948
displayRect.Width = raftingDisplayRectangle.Width - Row.
Margin
.Horizontal;
973
dragBounds.Height += (nextRowBounds.Height >> 2) + Row.
Margin
.Bottom + ToolStripPanel.RowsInternal[index + 1].
Margin
.Top;
976
dragBounds.Width += Row.
Margin
.Horizontal + ToolStripPanel.Padding.Horizontal +5;
977
dragBounds.X -= Row.
Margin
.Left + ToolStripPanel.Padding.Left +4;
1411
cellMargin.Left = Math.Max(0,locationToDrag.X-Row.
Margin
.Left);
1455
displayRect.Height = ToolStripPanel.ParentInternal.DisplayRectangle.Height - (ToolStripPanel.Margin.Vertical + ToolStripPanel.Padding.Vertical) - Row.
Margin
.Vertical;
1458
displayRect.Height = raftingDisplayRectangle.Height - Row.
Margin
.Vertical;
1482
dragBounds.Width += (nextRowBounds.Width >> 2) + Row.
Margin
.Right + ToolStripPanel.RowsInternal[index + 1].
Margin
.Left;
1485
dragBounds.Height += Row.
Margin
.Vertical + ToolStripPanel.Padding.Vertical +5;
1486
dragBounds.Y -= Row.
Margin
.Top+ ToolStripPanel.Padding.Top +4;
1937
cellMargin.Top = Math.Max(0,locationToDrag.Y-Row.
Margin
.Top);