Displaying thumbnail icons 128x128 pixels or larger in a grid in ListView

后端 未结 5 620
栀梦
栀梦 2020-12-07 20:39

Original Question (see Update below)

I have a WinForms program that needs a decent scrollable icon control with large icons (128x128 or larger thumbnails, really)

5条回答
  •  时光取名叫无心
    2020-12-07 21:02

    ObjectListView (an open source wrapper around a .NET ListView) makes it easy to custom draw a Tile view. Have a look at the Complex view on the demo, switch to Tile view when custom draw is enabled:
    (source: sourceforge.net)

    If you only wanted a 128x128 image plus some text details, you wouldn't even need to owner draw it. You could give it a large imagelist, and then mark which bits of textual information you wanted to show on the Tile, using IsTileViewColumn.

提交回复
热议问题