public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target) { global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null; switch (connectionId) { case 1: // Pages\Dashboard.xaml line 1 { global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target; Dashboard_obj1_Bindings bindings = new Dashboard_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 4: // Pages\Dashboard.xaml line 17 { global::Windows.UI.Xaml.Controls.StackPanel element4 = (global::Windows.UI.Xaml.Controls.StackPanel)target; Dashboard_obj4_Bindings bindings = new Dashboard_obj4_Bindings(); returnValue = bindings; bindings.SetDataRoot(element4.DataContext); element4.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings); global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element4, bindings); } break; case 6: // Pages\Dashboard.xaml line 14 { global::Windows.UI.Xaml.Shapes.Rectangle element6 = (global::Windows.UI.Xaml.Shapes.Rectangle)target; Dashboard_obj6_Bindings bindings = new Dashboard_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; } 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: { global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target; Dashboard_obj1_Bindings bindings = new Dashboard_obj1_Bindings(); returnValue = bindings; bindings.SetDataRoot(this); this.Bindings = bindings; element1.Loading += bindings.Loading; } break; case 43: { global::Windows.UI.Xaml.Controls.StackPanel element43 = (global::Windows.UI.Xaml.Controls.StackPanel)target; Dashboard_obj43_Bindings bindings = new Dashboard_obj43_Bindings(); returnValue = bindings; bindings.SetDataRoot((global::WoundManagementSystem.Appointment)element43.DataContext); element43.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element43, bindings); } break; case 70: { global::Windows.UI.Xaml.Controls.StackPanel element70 = (global::Windows.UI.Xaml.Controls.StackPanel)target; Dashboard_obj70_Bindings bindings = new Dashboard_obj70_Bindings(); returnValue = bindings; bindings.SetDataRoot((global::WoundManagementSystem.Patient)element70.DataContext); element70.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element70, bindings); } break; } return(returnValue); }