MobileForms Toolkit Documentation

SmartGrid.AutoResizeColumns Method (AutoSizeColumnsMode)

Adjusts the width of all columns using the specified size mode.

public void AutoResizeColumns(
AutoSizeColumnsMode autoSizeColumnsMode
);

Parameters

autoSizeColumnsMode
One of the AutoSizeColumnsMode values.

Remarks

This method is useful if you want to control when columns resize. The column widths are adjusted only once per method call; if the contents of the columns later change, the columns will not automatically adjust. To resize a specific column, use the AutoResizeColumn method. To set the columns to automatically resize whenever their contents change, use the AutoSizeColumnsMode property or the column AutoSizeMode property.

See Also

SmartGrid Class | Resco.Controls.SmartGrid Namespace | SmartGrid.AutoResizeColumns Overload List