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