Mini Kabibi Habibi

Current Path : C:/Users/Public/Documents/DXperience 13.1 Demos/WPF/CS/GridDemo.Wpf/Modules/
Upload File :
Current File : C:/Users/Public/Documents/DXperience 13.1 Demos/WPF/CS/GridDemo.Wpf/Modules/DataErrorInfo.xaml.cs

using System.Collections.Generic;
using DevExpress.Xpf.DemoBase;

namespace GridDemo {
    [CodeFile("ModuleResources/DataErrorInfoClasses.(cs)")]
    public partial class DataErrorInfo : GridDemoModule {
        public DataErrorInfo() {
            InitializeComponent();
            List<Person> persons = new List<Person>();
            persons.Add(new Person("John", "", "123 Home Lane, Homesville", "(555)956-15-47", "none"));
            persons.Add(new Person("Henry", "McAllister", "436 1st Ave, Cleveland", "(555)941-24-32", "@hotbox.com"));
            persons.Add(new Person("Frank", "Frankson", "349 Graphic Design L, Newman", "(555)155-05-02", "none"));
            persons.Add(new Person("Freddy", "Krueger", "Elm Street", "", "none"));
            persons.Add(new Person("Leticia", "Ford", "93900 Carter Lane, Cartersville", "(555)776-15-66", "none"));
            persons.Add(new Person("Karen", "Holmes", "", "(555)342-25-74", "none"));
            persons.Add(new Person("Roger", "Michelson", "3920 Michelson Dr., Bridgeford", "(555)954-51-88", "none"));
            grid.ItemsSource = persons;
        }
    }
}