public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target) { global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null; switch (connectionId) { case 1: { global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target; MainPage_obj1_Bindings bindings = new MainPage_obj1_Bindings(); returnValue = bindings; bindings.SetDataRoot(this); this.Bindings = bindings; element1.Loading += bindings.Loading; } break; case 17: { global::Windows.UI.Xaml.Controls.UserControl element17 = (global::Windows.UI.Xaml.Controls.UserControl)target; MainPage_obj17_Bindings bindings = new MainPage_obj17_Bindings(); returnValue = bindings; bindings.SetDataRoot((global::Todos.Models.TodoItem)element17.DataContext); element17.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element17, bindings); } break; } return(returnValue); }
public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target) { global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null; switch (connectionId) { case 1: // MainPage.xaml line 1 { global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target; MainPage_obj1_Bindings bindings = new MainPage_obj1_Bindings(); returnValue = bindings; bindings.SetDataRoot(this); this.Bindings = bindings; element1.Loading += bindings.Loading; global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element1, bindings); } break; case 6: // MainPage.xaml line 53 { global::Windows.UI.Xaml.Controls.StackPanel element6 = (global::Windows.UI.Xaml.Controls.StackPanel)target; MainPage_obj6_Bindings bindings = new MainPage_obj6_Bindings(); returnValue = bindings; bindings.SetDataRoot(element6.DataContext); element6.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element6, bindings); global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element6, bindings); } break; case 10: // MainPage.xaml line 40 { global::Windows.UI.Xaml.Controls.StackPanel element10 = (global::Windows.UI.Xaml.Controls.StackPanel)target; MainPage_obj10_Bindings bindings = new MainPage_obj10_Bindings(); returnValue = bindings; bindings.SetDataRoot(element10.DataContext); element10.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element10, bindings); global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element10, bindings); } break; case 17: // MainPage.xaml line 90 { global::Windows.UI.Xaml.Controls.Grid element17 = (global::Windows.UI.Xaml.Controls.Grid)target; MainPage_obj17_Bindings bindings = new MainPage_obj17_Bindings(); returnValue = bindings; bindings.SetDataRoot(element17.DataContext); element17.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element17, bindings); global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element17, bindings); } break; } return(returnValue); }