public void PropertyChanged_ViewModel(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) { SettingsPage_obj1_Bindings bindings = TryGetBindingObject(); if (bindings != null) { string propName = e.PropertyName; global::LifeGame.ViewModels.SettingsViewModel obj = sender as global::LifeGame.ViewModels.SettingsViewModel; if (global::System.String.IsNullOrEmpty(propName)) { if (obj != null) { bindings.Update_ViewModel_LifeCount(obj.LifeCount, DATA_CHANGED); bindings.Update_ViewModel_FoodCount(obj.FoodCount, DATA_CHANGED); bindings.Update_ViewModel_FoodSize(obj.FoodSize, DATA_CHANGED); } } else { switch (propName) { case "LifeCount": { if (obj != null) { bindings.Update_ViewModel_LifeCount(obj.LifeCount, DATA_CHANGED); } break; } case "FoodCount": { if (obj != null) { bindings.Update_ViewModel_FoodCount(obj.FoodCount, DATA_CHANGED); } break; } case "FoodSize": { if (obj != null) { bindings.Update_ViewModel_FoodSize(obj.FoodSize, DATA_CHANGED); } break; } default: break; } } } }