Ejemplo n.º 1
0
 public void AddRange(List <CityTableCellViewModel> citiesCells)
 {
     foreach (var cityCell in citiesCells)
     {
         CityMenuItems.Add(cityCell);
     }
 }
Ejemplo n.º 2
0
        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
        }