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;
using Telerik.Windows.Data;
using Telerik.Windows.Controls;
using System.Collections.ObjectModel;

namespace RadGridView_ScrollViewer
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
           
            InitializeComponent();
            ObservableCollection<Person> people = new ObservableCollection<Person>();
            for (int i = 0; i < 100; i++)
            {
                people.Add(new Person()
                {
                    Name1 = "Name",
                    Name2 = "Name",
                    Name3 = "Name",
                    Name4 = "Name",
                    Name5 = "Name",
                    Name6 = "Name",
                    Name7 = "Name",
                    Name8 = "Name",
                    Name9 = "Name",
                    Name10 = "Name",
                    Name11 = "Name",
                    Name12 = "Name",
                    Name13 = "Name",
                    Name14 = "Name",
                    Name15 = "Name",
                    Name16 = "Name",
                    Name17 = "Name",
                    Name18 = "Name",
                    Name19 = "Name",
                    Name20 = "Name",
                    Name21 = "Name",
                    Name22 = "Name",
                    Name23 = "Name",
                    Name24 = "Name",
                    Name25 = "Name",
                    Name26 = "Name",
                    Name27 = "Name",
                    Name28 = "Name",
                    Name29 = "Name",
                    Name30 = "Name",

                });
            }
            this.grid.ItemsSource = people;
        }

        private void Button1_Click(object sender, RoutedEventArgs e)
        {

        }

        private void Button2_Click(object sender, RoutedEventArgs e)
        {

        }
    }


    public class Person
    {
        public string Name1 {get; set;}
        public string Name2 { get; set; }
        public string Name3 { get; set; }
        public string Name4 { get; set; }
        public string Name5 { get; set; }
        public string Name6 { get; set; }
        public string Name7 { get; set; }
        public string Name8 { get; set; }
        public string Name9 { get; set; }
        public string Name10 { get; set; }
        public string Name11 { get; set; }
        public string Name12 { get; set; }
        public string Name13 { get; set; }
        public string Name14 { get; set; }
        public string Name15 { get; set; }
        public string Name16 { get; set; }
        public string Name17 { get; set; }
        public string Name18 { get; set; }
        public string Name19 { get; set; }
        public string Name20 { get; set; }
        public string Name21 { get; set; }
        public string Name22 { get; set; }
        public string Name23 { get; set; }
        public string Name24 { get; set; }
        public string Name25 { get; set; }
        public string Name26 { get; set; }
        public string Name27 { get; set; }
        public string Name28 { get; set; }
        public string Name29 { get; set; }
        public string Name30 { get; set; }
    }

}
