IDataGridColumn.AdjustWidth

Syntax

AdjustWidth([MinWidth: Integer = -1;] [MaxWidth: Integer = -1]);

Parameters

MinWidth. Minimum column width in pixels during the autofit. The default value is -1, no restrictions.

MaxWidth. Maximum column width in pixels during the autofit. The default value is -1, no restrictions.

Description

The AdjustWidth method executes a column width auto adjustment considering the MinWidth and the MaxWidth parameters.

See also:

IDataGridColumn