public void PropertyChanged_Data2(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) { MainPage_obj1_Bindings bindings = TryGetBindingObject(); if (bindings != null) { string propName = e.PropertyName; global::MVVMPrac.ViewModels.DataViewModel obj = sender as global::MVVMPrac.ViewModels.DataViewModel; if (global::System.String.IsNullOrEmpty(propName)) { if (obj != null) { bindings.Update_Data2_Name(obj.Name, DATA_CHANGED); } } else { switch (propName) { case "Name": { if (obj != null) { bindings.Update_Data2_Name(obj.Name, DATA_CHANGED); } break; } default: break; } } } }