Lists as Data Sources (Cont d) To bind a List to a ListBox: ListBox.DisplayMember = Class.property ListBox.ValueMember = Class.property ListBox.DataSource = List To extract values from the ListBox: index = ListBox.SelectedIndex value = ListBox.SelectedValue ListItem = ListBox.SelectedItem
{}