|
-
Jul 25th, 2010, 05:48 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Adding images to a listview row
Hi,
I want to add to display a star rating in a listview row.
Is it possible?
Thanks.
Delete it. They just clutter threads anyway.
-
Jul 25th, 2010, 07:47 PM
#2
Re: Adding images to a listview row
To display an Image in a ListView you are supposed to create an ImageList and add your Images to that. You assign that ImageList to the appropriate property of the ListView and then set the ImageIndex or Imagekey property of each item. The ImageList does have limitations though, so it may or may not work for what I assume would be non-square Images. Give it a go and see if it works first, then we can look elsewhere if it doesn't.
-
Jul 26th, 2010, 09:57 AM
#3
Thread Starter
Frenzied Member
Re: Adding images to a listview row
As you mentioned, I thought the ImageList had limitation in image sizing, but apparently not (at least for the control-version, that is).
It does limit me in the way that I can't add images to a subitem, but it'll do for now.
Thanks
Delete it. They just clutter threads anyway.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|