public void DataContextChangedHandler(global::Windows.UI.Xaml.FrameworkElement sender, global::Windows.UI.Xaml.DataContextChangedEventArgs args) { global::BindingEvents.MainView data = args.NewValue as global::BindingEvents.MainView; if (args.NewValue != null && data == null) { throw new global::System.ArgumentException("Incorrect type passed into template. Based on the x:DataType global::BindingEvents.MainView was expected."); } this.SetDataRoot(data); this.Update(); }
// MainView_obj1_Bindings public void SetDataRoot(global::BindingEvents.MainView newDataRoot) { this.dataRoot = newDataRoot; }
// MainView_obj1_Bindings public void SetDataRoot(global::BindingEvents.MainView newDataRoot) { this.dataRoot = newDataRoot; }