public void AddRange(List <CityTableCellViewModel> citiesCells) { foreach (var cityCell in citiesCells) { CityMenuItems.Add(cityCell); } }
public void UpdateFontSize(double delta) { MasterCityTitleLabelFontSize = masterCityTitleLabelFontSize + delta; MasterCityWeatherLabelFontSize = masterCityWeatherLabelFontSize + delta; MasterCityDescriptionLabelFontSize = masterCityDescriptionLabelFontSize + delta; OnPropertyChanged("MasterCityTitleLabelFontSize"); OnPropertyChanged("MasterCityWeatherLabelFontSize"); OnPropertyChanged("MasterCityDescriptionLabelFontSize"); #region For IOS Cells overlapping issue - fix (govnocod) var model = CityMenuItems.First(); CityMenuItems.Remove(model); CityMenuItems.Insert(0, model); OnPropertyChanged("CityMenuItems"); #endregion }