コード例 #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);
        }
コード例 #2
0
        public void OnCustomGridViewCreate(CustomGridViewCreateEventArgs e)
        {
            EventHandler <CustomGridViewCreateEventArgs> handler = CustomGridViewCreate;

            if (handler != null)
            {
                handler(this, e);
            }
        }
コード例 #3
0
ファイル: XpandGridListEditor.cs プロジェクト: krazana/eXpand
 public void OnCustomGridViewCreate(CustomGridViewCreateEventArgs e) {
     EventHandler<CustomGridViewCreateEventArgs> handler = CustomGridViewCreate;
     if (handler != null) handler(this, e);
 }
コード例 #4
0
ファイル: XpandGridListEditor.cs プロジェクト: krazana/eXpand
 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;
 }