8 overrides of DefaultMargin
System.Windows.Forms (6)
System\Windows\Forms\Controls\Labels\Label.cs (1)
312
protected override Padding
DefaultMargin
=> new(3, 0, 3, 0);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
323
protected override Padding
DefaultMargin
=> new(9);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
554
protected override Padding
DefaultMargin
=> Padding.Empty;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
120
protected override Padding
DefaultMargin
System\Windows\Forms\Panels\SplitterPanel.cs (1)
153
protected override Padding
DefaultMargin
=> new(0, 0, 0, 0);
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
135
protected override Padding
DefaultMargin
=> Padding.Empty;
System.Windows.Forms.Tests (2)
System\Windows\Forms\ControlTests.Properties.cs (2)
7687
protected override Padding
DefaultMargin
=> new(1, 2, 3, 4);
7692
protected override Padding
DefaultMargin
=> Padding.Empty;
44 references to DefaultMargin
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (4)
340
if (
DefaultMargin
!= CommonProperties.DefaultMargin)
342
Margin =
DefaultMargin
;
9066
Margin =
DefaultMargin
;
10584
return !Margin.Equals(
DefaultMargin
);
System\Windows\Forms\Layout\CommonProperties.cs (1)
80
/// LayoutEngines read this property and do not know each element's <see cref="Control.
DefaultMargin
"/>.
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
1020
public new Padding DefaultMargin => base.
DefaultMargin
;
System.Windows.Forms.Tests (38)
System\Windows\Forms\AxHostTests.cs (1)
3178
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\ButtonBaseTests.cs (1)
9281
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\ButtonTests.cs (1)
3689
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\CheckBoxTests.cs (1)
644
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\ComboBoxTests.cs (1)
2833
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\ContainerControlTests.cs (1)
1423
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\ControlTests.cs (1)
1156
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
2116
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\DateTimePickerTests.cs (1)
1018
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
392
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
895
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\DomainUpDownTests.cs (1)
1482
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
442
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\FormTests.cs (1)
2702
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\GroupBoxTests.cs (1)
2307
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\ListBoxTests.cs (1)
6414
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\ListControlTests.cs (1)
2922
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\ListViewTests.cs (1)
6109
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\PanelTests.cs (1)
1164
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\PictureBoxTests.cs (1)
2850
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\ProgressBarTests.cs (1)
2594
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\PropertyGridTests.cs (1)
4153
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\RadioButtonTests.cs (1)
1537
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\RichTextBoxTests.cs (1)
10934
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\ScrollableControlTests.cs (1)
2582
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\SplitterTests.cs (1)
2315
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\TabControlTests.cs (1)
5731
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\TableLayoutPanelTests.cs (1)
2181
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\TabPageTests.cs (1)
5245
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
2026
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\TreeViewTests.cs (1)
7582
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\UpDownBaseTests.cs (1)
3115
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\UserControlTests.cs (1)
1807
public new Padding DefaultMargin => base.
DefaultMargin
;
System\Windows\Forms\WebBrowserTests.cs (1)
4676
public new Padding DefaultMargin => base.
DefaultMargin
;
TextBoxBaseTests.cs (1)
7693
public new Padding DefaultMargin => base.
DefaultMargin
;
TextBoxTests.cs (1)
691
public new Padding DefaultMargin => base.
DefaultMargin
;
TrackBarTests.cs (1)
3288
public new Padding DefaultMargin => base.
DefaultMargin
;
WebBrowserBaseTests.cs (1)
896
public new Padding DefaultMargin => base.
DefaultMargin
;