EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

ListView.recalculateItemPosition method

Applies to Windows and Windows Phone

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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

ListView

 

 

Mostrar:
© 2014 Microsoft