System.Windows.Forms.DataGridTableStyle.PreferredRowHeight Property

Gets or sets the height used to create a row when a new grid is displayed.

Syntax

[System.ComponentModel.Localizable(true)]
public int PreferredRowHeight { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The preferred height is the minimum height needed to accommodate the displayed text with the assigned DataGridTableStyle.HeaderFont. A row will not be created with a height less than the specified value. If the font size requires it, however, the row height may be greater than the specified value.

Requirements

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