I want to color cell of the listview, how to write code ? You see my image file.
dongtrien 13 Newbie Poster
Recommended Answers
Jump to Post— Reverend Jim 6,665As 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 Post— rproffitt 3,249This 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 6,665 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
rproffitt 3,249 https://5calls.org Team Colleague
Reverend Jim commented: Well kewl. I can use that, too. +15
dongtrien 13 Newbie Poster
Reverend Jim 6,665 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
rproffitt 3,249 https://5calls.org Team Colleague
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.