示例#1
0
        public void AddColumn(IColumnInfo column)
        {
            var columnMeta = new ColumInfoModel(column);
            var collumnVm  = new ColumnInfoViewModel(columnMeta);

            ColumnInfoModels.Add(collumnVm);
        }
示例#2
0
        public void Refresh()
        {
            ColumnInfoModels.Clear();
            foreach (var result in SourceElement.ColumnInfos.Select(f => new ColumnInfoViewModel(f)))
            {
                ColumnInfoModels.Add(result);
            }

            SendPropertyChanged(string.Empty);
        }