12 references to GetMargin
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (1)
2438
get => CommonProperties.
GetMargin
(this);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1265
get => CommonProperties.
GetMargin
(this);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
199
get { return CommonProperties.
GetMargin
(this); }
System\Windows\Forms\Layout\ArrangedElement.cs (1)
71
get { return CommonProperties.
GetMargin
(this); }
System\Windows\Forms\Layout\CommonProperties.cs (2)
186
Debug.Assert(value !=
GetMargin
(element), "PERF: Caller should guard against setting Margin to original value.");
190
Debug.Assert(
GetMargin
(element) == value, "Error detected setting Margin.");
System\Windows\Forms\Layout\DefaultLayout.cs (1)
1123
Padding margin = CommonProperties.
GetMargin
(element);
System\Windows\Forms\Layout\FlowLayout.cs (1)
317
Padding margin = CommonProperties.
GetMargin
(container.Children[0]);
System\Windows\Forms\Layout\FlowLayout.ElementProxy.cs (1)
67
public virtual Padding Margin => CommonProperties.
GetMargin
(Element!);
System\Windows\Forms\Layout\TableLayout.cs (3)
736
Padding margin = CommonProperties.
GetMargin
(element);
855
Padding margin = CommonProperties.
GetMargin
(element);
1254
Padding elementMargin = CommonProperties.
GetMargin
(element);