34 overrides of DefaultSize
System.Windows.Forms (28)
System\Windows\Forms\ActiveX\AxHost.cs (1)
320protected override Size DefaultSize
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
255protected override Size DefaultSize => new(75, 23);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
377protected override Size DefaultSize
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2110protected override Size DefaultSize => new(240, 150);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
452protected override Size DefaultSize => new(200, PreferredHeight);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
137protected override Size DefaultSize => new(200, 100);
System\Windows\Forms\Controls\Labels\Label.cs (1)
318protected override Size DefaultSize => new(100, AutoSize ? PreferredHeight : 23);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
376protected override Size DefaultSize
System\Windows\Forms\Controls\ListView\ListView.cs (1)
746protected override Size DefaultSize
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
325protected override Size DefaultSize => GetMinReqRect();
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
223protected override Size DefaultSize => new(100, 50);
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
181protected override Size DefaultSize => new(100, 23);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
546protected override Size DefaultSize => new(130, 130);
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
93protected override Size DefaultSize
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
228protected override Size DefaultSize
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
482protected override Size DefaultSize
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
540protected override Size DefaultSize => ScaleHelper.IsThreadPerMonitorV2Aware
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
230protected override Size DefaultSize
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
202protected override Size DefaultSize => new(104, PreferredDimension);
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
415protected override Size DefaultSize => new(121, 97);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
246protected override Size DefaultSize => new(DefaultControlWidth, PreferredHeight);
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
1191protected override Size DefaultSize => new(75, 23);
System\Windows\Forms\Form.cs (1)
886protected override Size DefaultSize => new Size(300, 300);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
324protected override Size DefaultSize
System\Windows\Forms\Panels\Panel.cs (1)
149protected override Size DefaultSize => new(200, 100);
System\Windows\Forms\Scrolling\HScrollBar.cs (1)
23protected override Size DefaultSize
System\Windows\Forms\Scrolling\VScrollBar.cs (1)
27protected override Size DefaultSize
System\Windows\Forms\UserControl.cs (1)
180protected override Size DefaultSize
System.Windows.Forms.Tests (5)
System\Windows\Forms\ControlTests.Properties.cs (3)
3299protected override Size DefaultSize => new(10, 0); 3304protected override Size DefaultSize => new(0, 10); 3309protected override Size DefaultSize => new(10, 20);
System\Windows\Forms\ScrollableControlTests.cs (2)
2550protected override Size DefaultSize => new(100, 150); 2557protected override Size DefaultSize => new(50, 60);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
127protected override System.Drawing.Size DefaultSize
10 references to DefaultSize
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (4)
357Size defaultSize = DefaultSize; 8049/// <see cref="DefaultSize"/>, etc. The real size cannot be calculated until the handle is created as Windows 9122Size = DefaultSize; 10654Size s = DefaultSize;
System.Windows.Forms.Tests (6)
System\Windows\Forms\ContainerControlTests.cs (1)
1431public new Size DefaultSize => base.DefaultSize;
System\Windows\Forms\ControlTests.cs (1)
1164public new Size DefaultSize => base.DefaultSize;
System\Windows\Forms\ListControlTests.cs (1)
2930public new Size DefaultSize => base.DefaultSize;
System\Windows\Forms\ScrollableControlTests.cs (1)
2590public new Size DefaultSize => base.DefaultSize;
System\Windows\Forms\ScrollBarTests.cs (1)
3178public new Size DefaultSize => base.DefaultSize;
System\Windows\Forms\ToolStripPanelTests.cs (1)
377public new Size DefaultSize => base.DefaultSize;