ListView.setAutoArrange

Overview | Methods | This Package | All Packages

ListView.setAutoArrange

Sets a boolean value indicating whether icons are automatically kept arranged.

Syntax

public void setAutoArrange( boolean flag )

Parameters

flag

Set to true if icons are are automatically kept arranged and snapped to the grid; otherwise, set to false. The default value is false.

Remarks

The way the icons are arranged is determined by the current value of the alignment property. Setting the value of the autoArrange property has no effect unless the control is in Large Icon or Small Icon view.

See Also   getAutoArrange