using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace ExpressionThemeSimilarApproach
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            InitializeComponent();
            radGrid.ItemsSource = (from c in Enumerable.Range(0, 10)
                                   select new Employee
                                       {
                                           ID = c,
                                           Name = "Name " + c,
                                           Email = "Email " + c+"@yahoo.com"
                                       }

                             ).ToList();
        }
    }
    public class Employee
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public string Email { get; set; }

    }
}
