System.Windows.Forms.DataGrid.PreferredRowHeight Property

Gets or sets the preferred row height for the System.Windows.Forms.DataGrid control.

Syntax

public int PreferredRowHeight { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Set this property before resetting the DataGrid.DataSource and DataGrid.DataMember properties (either separately, or through the DataGrid.SetDataBinding(object, string) method), or the property will have no effect.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0