12 references to GetMargin
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (1)
2437
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)
191
Debug.Assert(value !=
GetMargin
(element), "PERF: Caller should guard against setting Margin to original value.");
195
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)
316
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)
734
Padding margin = CommonProperties.
GetMargin
(element);
853
Padding margin = CommonProperties.
GetMargin
(element);
1255
Padding elementMargin = CommonProperties.
GetMargin
(element);