public void PropertyChanged_(object sender, global::System.ComponentModel.PropertyChangedEventArgs e) { fileview_obj1_Bindings bindings = TryGetBindingObject(); if (bindings != null) { string propName = e.PropertyName; global::UnoEditor.Shared.Views.fileview obj = sender as global::UnoEditor.Shared.Views.fileview; if (global::System.String.IsNullOrEmpty(propName)) { if (obj != null) { bindings.Update_files(obj.files, DATA_CHANGED); } } else { switch (propName) { case "files": { if (obj != null) { bindings.Update_files(obj.files, DATA_CHANGED); } break; } default: break; } } } }
public bool SetDataRoot(global::System.Object newDataRoot) { this.bindingsTracking.ReleaseAllListeners(); if (newDataRoot != null) { this.dataRoot = (global::UnoEditor.Shared.Views.fileview)newDataRoot; return(true); } return(false); }
// Update methods for each path node used in binding steps. private void Update_(global::UnoEditor.Shared.Views.fileview obj, int phase) { this.bindingsTracking.UpdateChildListeners_(obj); if (obj != null) { if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0) { this.Update_files(obj.files, phase); } } }
public void UpdateChildListeners_(global::UnoEditor.Shared.Views.fileview obj) { fileview_obj1_Bindings bindings = TryGetBindingObject(); if (bindings != null) { if (bindings.dataRoot != null) { ((global::System.ComponentModel.INotifyPropertyChanged)bindings.dataRoot).PropertyChanged -= PropertyChanged_; } if (obj != null) { bindings.dataRoot = obj; ((global::System.ComponentModel.INotifyPropertyChanged)obj).PropertyChanged += PropertyChanged_; } } }
public static global::UnoEditor.Shared.Views.fileview MainPage_77666adaa098a2b86ef8a14e7904941d_XamlApply(this global::UnoEditor.Shared.Views.fileview instance, XamlApplyHandler4 handler) { handler(instance); return(instance); }