2 writes to Margin
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (2)
57Margin = DefaultMargin; 373Margin = DefaultMargin;
16 references to Margin
System.Windows.Forms (16)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
1027Rectangle bounds = LayoutUtils.InflateRect(row.Bounds, row.Margin);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
202if (Margin != value)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (7)
35displayRect.Width = ToolStripPanel.ParentInternal.DisplayRectangle.Width - (ToolStripPanel.Margin.Horizontal + ToolStripPanel.Padding.Horizontal) - Row.Margin.Horizontal; 39displayRect.Width = raftingDisplayRectangle.Width - Row.Margin.Horizontal; 67dragBounds.Height += (nextRowBounds.Height >> 2) + Row.Margin.Bottom + ToolStripPanel.RowsInternal[index + 1].Margin.Top; 70dragBounds.Width += Row.Margin.Horizontal + ToolStripPanel.Padding.Horizontal + 5; 71dragBounds.X -= Row.Margin.Left + ToolStripPanel.Padding.Left + 4; 543cellMargin.Left = Math.Max(0, locationToDrag.X - Row.Margin.Left);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (7)
36displayRect.Height = ToolStripPanel.ParentInternal.DisplayRectangle.Height - (ToolStripPanel.Margin.Vertical + ToolStripPanel.Padding.Vertical) - Row.Margin.Vertical; 40displayRect.Height = raftingDisplayRectangle.Height - Row.Margin.Vertical; 68dragBounds.Width += (nextRowBounds.Width >> 2) + Row.Margin.Right + ToolStripPanel.RowsInternal[index + 1].Margin.Left; 71dragBounds.Height += Row.Margin.Vertical + ToolStripPanel.Padding.Vertical + 5; 72dragBounds.Y -= Row.Margin.Top + ToolStripPanel.Padding.Top + 4; 547cellMargin.Top = Math.Max(0, locationToDrag.Y - Row.Margin.Top);