Skip to main content

TcxvgOptionsView.RowHeight Property

Specifies the row height, in pixels.

Declaration

property RowHeight: Integer read; write; default -1;

Property Value

Type Description
Integer

The current row height, in pixels.

Remarks

Use this property to adjust the height of grid rows. If the RowHeight property is set to -1 (by default), the height of each row is calculated automatically to fit its content.

The row content size depends on the row’s Styles settings and the vertical grid control’s Font, Styles, Styles.Header, Styles.Content, Styles.ContentEven, and Styles.ContentOdd property values.

You can customize the height of a particular row by using its Height property that has priority over the RowHeight property.

To enable the end-user capability to resize a row by dragging its bottom border, set the vertical grid control’s OptionsBehavior.RowSizing property to True.

Note

Each row whose Options.CanAutoHeight property is set to True automatically resizes to fit the content.

The default RowHeight property value is -1.

See Also