DataGridView.DefaultSize 属性

定义

获取控件的默认初始大小。Gets the default initial size of the control.

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,表示控件的初始大小(宽度为 240 个像素,高度为 150 个像素)。A Size representing the initial size of the control, which is 240 pixels wide by 150 pixels high.

适用于