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