AdjustHeight([MaxHeight: Integer = -1;][MinHeight: Integer = -1]);
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.
The AdjustHeight method adjusts row height so that the contents could entirely fit the cells.
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: