public void AddColumn(IColumnInfo column) { var columnMeta = new ColumInfoModel(column); var collumnVm = new ColumnInfoViewModel(columnMeta); ColumnInfoModels.Add(collumnVm); }
public void Refresh() { ColumnInfoModels.Clear(); foreach (var result in SourceElement.ColumnInfos.Select(f => new ColumnInfoViewModel(f))) { ColumnInfoModels.Add(result); } SendPropertyChanged(string.Empty); }