ListView.recalculateItemPosition method

Repositions all the visible items in the ListView to adjust for items whose sizes have changed. Most apps won'’t ever need to call this method. For more info, see the Remarks section.

Syntax

listView.recalculateItemPosition();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

This method is provided for UI designer apps that let the developer rapidly resize ListView items, perhaps by dragging handles on the items. The UI designer app can call this method to rapidly update the position of items in the ListView without having to perform a full forceLayout operation. Other types of apps won’'t ever need to call this method.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListView