Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        public void OnCustomGridViewCreate(CustomGridViewCreateEventArgs e)
        {
            EventHandler <CustomGridViewCreateEventArgs> handler = CustomGridViewCreate;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemplo n.º 3
0
 public void OnCustomGridViewCreate(CustomGridViewCreateEventArgs e) {
     EventHandler<CustomGridViewCreateEventArgs> handler = CustomGridViewCreate;
     if (handler != null) handler(this, e);
 }
Exemplo n.º 4
0
 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;
 }