SplitContainer.DefaultSize SplitContainer.DefaultSize SplitContainer.DefaultSize SplitContainer.DefaultSize Property

定义

获取 SplitContainer 的默认大小。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

属性值

Size,它表示 SplitContainer 的大小。A Size that represents the size of the SplitContainer.

注解

重写DefaultSize派生类中的属性,以指定默认SplitContainer大小。Override the DefaultSize property in a derived class to specify a default size for SplitContainer. 这比在SplitContainer构造函数中设置大小更有效。This is more efficient than setting the size in the SplitContainer constructor.

适用于

另请参阅