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.

適用於

另請參閱