コード例 #1
0
ファイル: Synchronizers.cs プロジェクト: landytest/eXpand
 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));
 }
コード例 #2
0
ファイル: Synchronizers.cs プロジェクト: xyyhqq/eXpand
        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));
        }
コード例 #3
0
ファイル: Synchronizers.cs プロジェクト: landytest/eXpand
 public AdvBandedViewOptionsSynchronizer(AdvBandedListEditor control)
     : base(control.GridView, control.Model.OptionsAdvBandedView, ((IColumnViewEditor)control).OverrideViewDesignMode)
 {
 }