Windows apps
Collapse the table of content
Expand the table of content

ILayoutSite.loadingBehavior property

Gets the current loadingBehavior of the ListView.


var loadingBehavior = iLayoutSite.loadingBehavior;

Property value

Type: String

One of the following values:


The ListView calculates the amount of items to show based on the number of items that can be displayed and the total amount of items. The ListView loads enough items to display the current page as well as the next page and the preceding page. This is the default value.


The ListView loads as many pages of items as specified by the pagesToLoad property. When automaticallyLoadPages is true, the items are loaded when the user is within the threshold scrolling amount (specified by pagesToLoadThreshold) of the end of the loaded portion of the list. When automaticallyLoadPages is false, you can manually load pages by calling the loadMorePages method. Note that, when using this mode, the ensureVisible method won't work for items that haven't loaded yet. The ListView does not support grouped lists in this mode.







See also




Build date: 12/5/2012

© 2017 Microsoft