I add several objects of type MyListItem to the ItemCollection in my ListBox. MyListItem is a simple class containing an ID field (int) and a Name field (string), with corresponding properties. I set the ValueMember field of the ListBox to the "ID" property and the DisplayMember to the "Name" property of the ListItem objects. The ListBox displays the names just fine in the list, but when I select an item in the list and try to use the SelectedValue I'm getting <undefined value> rather than the proper ID value (int). When I cast the SelectedItem object to MyListItem to obtain the ID it works fine, but SelectedValue should do the same, shouldn't it?