Highlighting Multiple Items in a ListView Control

Highlighting Multiple Items in a ListView Control

Question:
I’m creating an email application and I require the ability to highlightall the items in the ListView control (not just the first item) in thesame fashion as Microsoft Exchange highlights the item and subitems foreach received message. How can this be accomplished?

Answer:
Each node/entry in the ListView has the “Selected” property. Try setting multiple entries’ Selected properties to True. From what I saw in the help, the Selected property was the only applicable property for selecting/deselecting items. In this case, you may have to use a grid or other control that more readily supports multiple item selections.

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular