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 CellTemplatesSample
{
    /// <summary>
    /// Interaction logic for Window1.xaml
    /// </summary>
    public partial class Window1 : Window
    {
        public Window1()
        {
            InitializeComponent();
            List<Item> items = new List<Item>();
            items.Add(new Item() { Control = "TextBox", Default = "some text", Name = "Name1" });
            items.Add(new Item() { Control = "CheckBox ", Default = true, Name = "Name2" });

            this.RadGridView1.ItemsSource = items;
        }
    }

    public class Item
    {
        public string Name { get; set; }
        public string Control { get; set; }
        public object Default { get; set; }
    }
}
