0

Regarding WinRT ListView...

  1. Is there a row or size limit on the control. i.e, will it render only up to a certain number of rows?

OR

  1. Will the ListView keep filling with items until an OutOfMemoryException is reached, or all data is loaded?
4

1 回答 1

0

you can specify height / width properties to ensure that it doesn't grow beyond those.

I prefer to use grid layout and force listview to have that as max size.

The listview support data virtualisation.

http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.listview.aspx

This means that any data that is not visible on screen isn't rendered and will only be rendered if it comes into view. this is the default option.

于 2013-02-22T15:01:37.540 回答