protected override DevExpress.ExpressApp.Win.Editors.XafGridView CreateGridViewCore() { var gridViewCreatingEventArgs = new CustomGridViewCreateEventArgs(Grid); OnCustomGridViewCreate(gridViewCreatingEventArgs); DevExpress.ExpressApp.Win.Editors.XafGridView gridViewCore = gridViewCreatingEventArgs.Handled ? gridViewCreatingEventArgs.GridView : new XpandXafGridView(this); return(gridViewCore); }
public void OnCustomGridViewCreate(CustomGridViewCreateEventArgs e) { EventHandler <CustomGridViewCreateEventArgs> handler = CustomGridViewCreate; if (handler != null) { handler(this, e); } }
public void OnCustomGridViewCreate(CustomGridViewCreateEventArgs e) { EventHandler<CustomGridViewCreateEventArgs> handler = CustomGridViewCreate; if (handler != null) handler(this, e); }
protected override DevExpress.ExpressApp.Win.Editors.XafGridView CreateGridViewCore() { var gridViewCreatingEventArgs = new CustomGridViewCreateEventArgs(Grid); OnCustomGridViewCreate(gridViewCreatingEventArgs); DevExpress.ExpressApp.Win.Editors.XafGridView gridViewCore = gridViewCreatingEventArgs.Handled ? gridViewCreatingEventArgs.GridView : new XpandXafGridView(this); return gridViewCore; }