public GridLstEditorDynamicModelSynchronizer(XafGridView gridView, IModelListViewOptionsGridView modelListView, bool overrideViewDesignMode) : base(gridView, modelListView) { ModelSynchronizerList.Add(new GridListEditorViewOptionsSynchronizer(gridView, modelListView.GridViewOptions, overrideViewDesignMode)); ModelSynchronizerList.Add(new GridListEditorColumnOptionsSynchroniser(gridView, modelListView)); ModelSynchronizerList.Add(new RepositoryItemColumnViewSynchronizer(gridView, modelListView)); }
public GridListEditorDynamicModelSynchronizer(XafGridView gridView, IModelListViewOptionsGridView modelListView, bool overrideViewDesignMode) : base(gridView, modelListView) { var adapters = modelListView.GridViewModelAdapters.SelectMany(adapter => adapter.ModelAdapters); foreach (var adapter in adapters) { ModelSynchronizerList.Add(new GridListEditorViewOptionsSynchronizer(gridView, adapter, overrideViewDesignMode)); } ModelSynchronizerList.Add(new GridViewListEditorDynamicModelSynchronizer(gridView, modelListView, overrideViewDesignMode)); ModelSynchronizerList.Add(new GridListEditorColumnOptionsSynchroniser(gridView, modelListView)); ModelSynchronizerList.Add(new RepositoryItemColumnViewSynchronizer(gridView, modelListView)); }
public GridListEditorDynamicModelSynchronizer(DevExpress.XtraGrid.Views.Grid.GridView gridView, IModelListViewOptionsGridView modelListView, bool overrideViewDesignMode) : base(gridView, modelListView) { if (!modelListView.BandsLayout.Enable) { var adapters = modelListView.GridViewModelAdapters.Select(adapter => adapter.ModelAdapter); foreach (var adapter in adapters) { ModelSynchronizerList.Add(new GridListEditorViewOptionsSynchronizer(gridView, adapter, overrideViewDesignMode)); } } ModelSynchronizerList.Add(new GridViewListEditorDynamicModelSynchronizer(gridView, modelListView, overrideViewDesignMode)); ModelSynchronizerList.Add(new GridListEditorColumnOptionsSynchroniser(gridView, modelListView)); ModelSynchronizerList.Add(new RepositoryItemColumnViewSynchronizer(gridView, modelListView)); }
public GridViewListEditorDynamicModelSynchronizer(DevExpress.XtraGrid.Views.Grid.GridView gridView, IModelListViewOptionsGridView modelListView, bool overrideViewDesignMode) : base(gridView, modelListView) { ModelSynchronizerList.Add(new GridViewViewOptionsSynchronizer(gridView, modelListView, overrideViewDesignMode)); ModelSynchronizerList.Add(new GridViewColumnOptionsSynchroniser(gridView, modelListView)); ModelSynchronizerList.Add(new RepositoryItemColumnViewSynchronizer(gridView, modelListView)); }
public GridViewViewOptionsSynchronizer(DevExpress.XtraGrid.Views.Grid.GridView gridView, IModelListViewOptionsGridView modelListView, bool overrideViewDesignMode) : base(gridView, modelListView.GridViewOptions, overrideViewDesignMode) { }