SplitContainer.DefaultSize Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 2.0
Return to top