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