I'm having major brain-fart.
On my form I have a List of a custom class. It's a very simple class that just holds values for multiple properties. All I want to do is display the value of 2 of these properties for each class in a ListView. I can easily do it in a single column, like this:
Creatures is the List<Creature> object.Code:private void UpdateCreatureList() { lvwCreatures.Items.Clear(); foreach (Creature item in Creatures) { lvwCreatures.Items.Add(item.CreatureName + ": " + item.Miniature); } }
What I want to do is change the ListView so it has 2 columns: Creature & Miniature. Then I want to populate each column with its respective property value from the List.




Reply With Quote