private void gridControl1_Loaded(object sender, RoutedEventArgs e) { gridControl1.ItemsSource = IssueList.GetData(); foreach (GridColumn column in gridControl1.Columns) { column.AddHandler(DXSerializer.AllowPropertyEvent, new AllowPropertyEventHandler(column_AllowProperty)); } }
public Window1() { InitializeComponent(); grid.ItemsSource = IssueList.GetData(); }