I want to color cell of the listview, how to write code ? You see my image file. http://www.mediafire.com/view/uoq3qw4o9c90jwd/chamcong5.jpg/file
dongtrien
13
Newbie Poster
Recommended Answers
Jump to PostAs far as I know you can't change the colour of an individual cell in a listview (details view). You can only change the colour of an entire row.
Jump to PostThis may be a rarely used API call. Read https://msdn.microsoft.com/en-us/library/system.windows.forms.listviewitem.useitemstyleforsubitems(v=vs.110).aspx
Example code is there in C …
All 5 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
rproffitt
2,580
"Nothing to see here."
Moderator
Reverend Jim
commented:
Well kewl. I can use that, too.
+15
dongtrien
13
Newbie Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
rproffitt
2,580
"Nothing to see here."
Moderator
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.