I am new to a virtual list item and how it works. Can you explain the uses and when it is appropriate to use. Can it be used with word document text files, excel document? How does it pull the information and is there any samples that would be useful with a List Item: Detail Mode? I have no clue how to start the program any help is appreciated.
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
Basically the virtual list control lets you have a listbox with a very large number of items in it but only load a subset of the data into memory. As the user scrolls through the list and exhausts the items in memory then the list control loads more data:
http://msdn.microsoft.com/en-us/library/ye4z8x58.aspx
The .NET version is implemented with the 'VirtualMode' property of the ListView control. When this is set to true it will act as a virtual list. Your code handles the "RetrieveVirtualItem" event to load more data into the list view as the virtual list's items are exhausted:
http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.virtualmode(v=vs.110).aspx