Example #1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     this.bindingsTracking.ReleaseAllListeners();
     if (newDataRoot != null)
     {
         this.dataRoot = (global::StreamKontrolUnit.Views.InkDrawPicturePage)newDataRoot;
         return(true);
     }
     return(false);
 }
Example #2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::StreamKontrolUnit.Views.InkDrawPicturePage obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update_ViewModel(obj.ViewModel, phase);
         }
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_inkCanvas(obj.inkCanvas, phase);
         }
     }
 }