Export (0) Print
Expand All

SplitContainer.DefaultSize Property

Gets the default size of the SplitContainer.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected override Size DefaultSize { get; }

Property Value

Type: System.Drawing.Size
A Size that represents the size of the SplitContainer.

Override the DefaultSize property in a derived class to specify a default size for SplitContainer. This is more efficient than setting the size in the SplitContainer constructor.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft