Wednesday, January 20, 2010
by
XAML Team
|
Comments 13
GridViewComboBox column is used to display lookup data in user friendly manner. For our demo we bind RadGridView for WPF to a collection of custom Location objects.

As you may notice – each location has a selectable Country field. Here is the underlying ‘data model’.
public class Location
{
public int CountryID { get; set; }
public string CityName { get; set; }
}
public class Country
{
public int ID { get; set; }
public string Name { get; set; }
}
The location object contains the integer CountryID.Each CountryID corresponds to a certain country and with the help of GridViewComboBoxColumn we see some human readable country names instead of the...