Beispiel #1
0
 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();
 }
Beispiel #2
0
            // MainView_obj1_Bindings

            public void SetDataRoot(global::BindingEvents.MainView newDataRoot)
            {
                this.dataRoot = newDataRoot;
            }
Beispiel #3
0
            // MainView_obj1_Bindings

            public void SetDataRoot(global::BindingEvents.MainView newDataRoot)
            {
                this.dataRoot = newDataRoot;
            }