12 references to GetMargin
System.Windows.Forms (12)
System\Windows\Forms\Control.cs (1)
2438get => 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)
186Debug.Assert(value != GetMargin(element), "PERF: Caller should guard against setting Margin to original value."); 190Debug.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)
317Padding 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)
736Padding margin = CommonProperties.GetMargin(element); 855Padding margin = CommonProperties.GetMargin(element); 1254Padding elementMargin = CommonProperties.GetMargin(element);