using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace GridViewComboBox_BoundToList
{
	/// <summary>
	/// Interaction logic for MainWindow.xaml
	/// </summary>
	public partial class MainWindow : Window
	{
		public MainWindow()
		{
			InitializeComponent();
			GridView.ItemsSource = new[]
			{
				new Person{
					Name = "John Smith",
					Age = 24,
					Type = "type1"
				},
				new Person{
					Name = "Peter Smoulder",
					Age = 34,
					Type = "type2"				
				},
				new Person{
				Name = "George Peterson",
				Age = 86,
				Type = "type3"
			}
			};
		}
	}
}	