public RouteFrame_obj7_Bindings TryGetBindingObject() { RouteFrame_obj7_Bindings bindingObject = null; if (weakRefToBindingObj != null) { weakRefToBindingObj.TryGetTarget(out bindingObject); if (bindingObject == null) { weakRefToBindingObj = null; ReleaseAllListeners(); } } return(bindingObject); }
public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target) { global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null; switch (connectionId) { case 1: // Views\TravelPlanDetailsPage\RouteFrame.xaml line 1 { global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target; RouteFrame_obj1_Bindings bindings = new RouteFrame_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 7: // Views\TravelPlanDetailsPage\RouteFrame.xaml line 57 { global::Windows.UI.Xaml.Controls.StackPanel element7 = (global::Windows.UI.Xaml.Controls.StackPanel)target; RouteFrame_obj7_Bindings bindings = new RouteFrame_obj7_Bindings(); returnValue = bindings; bindings.SetDataRoot(element7.DataContext); element7.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element7, bindings); global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element7, bindings); } break; case 11: // Views\TravelPlanDetailsPage\RouteFrame.xaml line 37 { global::Windows.UI.Xaml.Controls.StackPanel element11 = (global::Windows.UI.Xaml.Controls.StackPanel)target; RouteFrame_obj11_Bindings bindings = new RouteFrame_obj11_Bindings(); returnValue = bindings; bindings.SetDataRoot(element11.DataContext); element11.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element11, bindings); global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element11, bindings); } break; } return(returnValue); }
public RouteFrame_obj7_BindingsTracking(RouteFrame_obj7_Bindings obj) { weakRefToBindingObj = new global::System.WeakReference <RouteFrame_obj7_Bindings>(obj); }