11 references to GetMargin
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ArrangedElement.cs (1)
74get { return CommonProperties.GetMargin(this); }
winforms\Managed\System\WinForms\Control.cs (1)
3262get { return CommonProperties.GetMargin(this); }
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (2)
192Debug.Assert(value != GetMargin(element), "PERF: Caller should guard against setting Margin to original value."); 196Debug.Assert(GetMargin(element) == value, "Error detected setting Margin.");
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
830Padding margin = CommonProperties.GetMargin(element);
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (1)
577get { return CommonProperties.GetMargin(Element); }
winforms\Managed\System\WinForms\Layout\TableLayout.cs (3)
740Padding margin = CommonProperties.GetMargin(element); 845Padding margin = CommonProperties.GetMargin(element); 1219Padding elementMargin = CommonProperties.GetMargin(element);
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
1519get { return CommonProperties.GetMargin(this); }
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
211get { return CommonProperties.GetMargin(this); }