編輯

共用方式為


SplitContainer.DefaultSize Property

Definition

Gets the default size of the SplitContainer.

protected:
 virtual property System::Drawing::Size DefaultSize { System::Drawing::Size get(); };
protected override System.Drawing.Size DefaultSize { get; }
member this.DefaultSize : System.Drawing.Size
Protected Overrides ReadOnly Property DefaultSize As Size

Property Value

A Size that represents the size of the SplitContainer.

Remarks

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.

Applies to

See also