✅ WPF, how do i fill listboxes with values
Hi im trying to fill my list with objects and then only display the name what should i do?
public void FillLists(Wizard wizard)
{
lstGryffindor.ItemsSource = hogwarts.Griffendor.Members;
lstHufflepuff.ItemsSource = hogwarts.Hufflepuff.Members;
lstRavenclaw.ItemsSource = hogwarts.Ravenclaw.Members;
lstSlytherin.ItemsSource = hogwarts.Slytherin.Members;
}