// Update methods for each path node used in binding steps. private void Update_(global::DeviantArt.Models.ImageItem obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | (1 << 0))) != 0) { this.Update_Src(obj.Src, phase); } } }
public void DataContextChangedHandler(global::Windows.UI.Xaml.FrameworkElement sender, global::Windows.UI.Xaml.DataContextChangedEventArgs args) { global::DeviantArt.Models.ImageItem data = args.NewValue as global::DeviantArt.Models.ImageItem; if (args.NewValue != null && data == null) { throw new global::System.ArgumentException("Incorrect type passed into template. Based on the x:DataType global::DeviantArt.Models.ImageItem was expected."); } this.SetDataRoot(data); this.Update(); }
// MainPage_obj11_Bindings public void SetDataRoot(global::DeviantArt.Models.ImageItem newDataRoot) { this.dataRoot = newDataRoot; }