// Update methods for each path node used in binding steps. private void Update_(global::teamnotfound.DataModel.Category 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::teamnotfound.DataModel.Category data = args.NewValue as global::teamnotfound.DataModel.Category; if (args.NewValue != null && data == null) { throw new global::System.ArgumentException("Incorrect type passed into template. Based on the x:DataType global::teamnotfound.DataModel.Category was expected."); } this.SetDataRoot(data); this.Update(); }
// ProjectCategories_obj3_Bindings public void SetDataRoot(global::teamnotfound.DataModel.Category newDataRoot) { this.dataRoot = newDataRoot; }