.NET 2.0 ListView VirtualMode

November 6th, 2005 by Andy Leave a reply »

The Winforms ListView control has a great new feature in .NET 2.0 – virtual mode. Some time ago I wrote a text file viewer (for log files) using .NET 1.1, and I had to hack together my own virtual mode – it worked ok but had a lot of bugs that I never got around to fixing. So I was very happy to be able to ditch all that dodgy code by porting to .NET 2.0.

The only problem is that there are a few bugs. I’ve reported a particularly nasty one via the MS feedback center. If you’re using virtual mode and getting apparently random crashes, check that you haven’t got any list items containing exactly 260 characters.

Advertisement

1 comment

  1. Syed Faisal says:

    The virtual mode is also present for the DataGridView(new version of the previously known DataGrid).