Hi,
how do enable selection of a subItem in a ListView control?
TY
Hwo do enable selection of a subItem in a ListView control?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Kirtan PatelRank #292 · 8.6K reputationPosted Oct 21, 2009, 10:22 AM EDT
or you can simulate selection by changing sub items backgorund color
by following code
listView1.Items[0].UseItemStyleForSubItems = false;
listView1.Items[0].SubItems[0].BackColor = Color.CadetBlue;
if it helped you please check "do you like this answer" please :)