IDataGridRows.AdjustHeight

Syntax

AdjustHeight([MaxHeight: Integer = -1;][MinHeight: Integer = -1]);

Parameters

MaxHeight. Maximum height that can be set without depending on the cells contents.

MinHeight. Minimum height that is set without depending on the cells contents.

Description

The AdjustHeight method adjusts row height so that the contents could entirely fit the cells.

Comments

The MaxHeight and the MinHeight parameters values are specified in pixels.

The method is available to use if the RowSizingMode property is set to DataGridRowSizingMode.Single.

See also:

IDataGridRows