kakopappa
kakopappa

Reputation: 5085

C# Winforms Custom control help

I am looking for a free control in C# which allows me to show a set of images in a List like a preview (Eg PDF pages preview). I tried ListView control but it does not allow me to set bigger image size. Please advice

Upvotes: 0

Views: 764

Answers (4)

Ozgur Ozcitak
Ozgur Ozcitak

Reputation: 10619

There is the ImageListView control. (I am the owner of the project.)

ImageListView Control Screenshot

Upvotes: 1

Alex Essilfie
Alex Essilfie

Reputation: 12613

You can use a ListView-ImageList combination to achieve that purpose.

Just set the ImageList's ImageSize property to something large, say 96, 96 and set the ListView's LargeImageList property to the ImageList.

Upvotes: 2

KeithS
KeithS

Reputation: 71565

How about a Panel with images in it? You can set it up to render as a scrollable div (if you're targeting ASP.NET, which I think you are), or if this is WinForms, you just set it to have scrollbars.

Understand, though, that unless you have pre-made thumbnails for your images, showing a preview of the image will require loading the whole image and downsizing it to show as a thumb. So, except for the real estate it will take, you may not be saving much by "previewing" images.

Upvotes: 0

user1921
user1921

Reputation:

Have you tried using a repeater?

here's a link returned on the first page of a quick google search that demonstrates one way to do this: http://www.vbknowledgebase.com/?Id=157&Desc=Asp.Net-Image-Dropdownlist

Upvotes: 1

Related Questions