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