public AdvBandedViewLstEditorDynamicModelSynchronizer(AdvBandedListEditor columnViewEditor) : base(columnViewEditor) { ModelSynchronizerList.Add(new XpandGridListEditorSynchronizer(columnViewEditor)); ModelSynchronizerList.Add(new AdvBandedViewOptionsSynchronizer(columnViewEditor)); ModelSynchronizerList.Add(new AdvBandedColumnOptionsSynchroniser(columnViewEditor)); ModelSynchronizerList.Add(new AdvBandedViewGridBandsSynchronizer(columnViewEditor)); ModelSynchronizerList.Add(new XpandGridSummaryModelSynchronizer(columnViewEditor)); ModelSynchronizerList.Add(new RepositoryItemColumnViewSynchronizer(columnViewEditor.GridView, columnViewEditor.Model)); }
public AdvBandedViewLstEditorDynamicModelSynchronizer(AdvBandedListEditor columnViewEditor) : base(columnViewEditor) { ModelSynchronizerList.Add(new XpandGridListEditorSynchronizer(columnViewEditor)); var modelOptionsAdvBandedViews = columnViewEditor.Model.AdvBandedViewModelAdapters.SelectMany(adapter => adapter.ModelAdapters).Concat(new[] { columnViewEditor.Model.OptionsAdvBandedView }).ToArray(); foreach (var optionsAdvBandedView in modelOptionsAdvBandedViews) { ModelSynchronizerList.Add(new AdvBandedViewOptionsSynchronizer(columnViewEditor, optionsAdvBandedView)); } ModelSynchronizerList.Add(new AdvBandedColumnOptionsSynchroniser(columnViewEditor)); foreach (var optionsAdvBandedView in modelOptionsAdvBandedViews) { ModelSynchronizerList.Add(new AdvBandedViewGridBandsSynchronizer(columnViewEditor, optionsAdvBandedView)); } ModelSynchronizerList.Add(new RepositoryItemColumnViewSynchronizer(columnViewEditor.GridView, columnViewEditor.Model)); }
public AdvBandedViewOptionsSynchronizer(AdvBandedListEditor control) : base(control.GridView, control.Model.OptionsAdvBandedView, ((IColumnViewEditor)control).OverrideViewDesignMode) { }