DataGridView.DefaultSize Property


Gets the default initial size of the control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

Protected Overrides ReadOnly Property DefaultSize As Size

Property Value

Type: System.Drawing.Size

A Size representing the initial size of the control, which is 240 pixels wide by 150 pixels high.

.NET Framework
Available since 2.0
Return to top