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