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; CalendarPage_Mobile_obj1_Bindings bindings = new CalendarPage_Mobile_obj1_Bindings(); returnValue = bindings; bindings.SetDataRoot(this); this.Bindings = bindings; element1.Loading += bindings.Loading; } break; case 7: { global::Windows.UI.Xaml.Controls.Grid element7 = (global::Windows.UI.Xaml.Controls.Grid)target; CalendarPage_Mobile_obj7_Bindings bindings = new CalendarPage_Mobile_obj7_Bindings(); returnValue = bindings; bindings.SetDataRoot((global::BalanceSheet.Models.ListBalance)element7.DataContext); element7.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element7, bindings); } break; } return(returnValue); }
public CalendarPage_Mobile_obj1_BindingsTracking(CalendarPage_Mobile_obj1_Bindings obj) { WeakRefToBindingObj = new global::System.WeakReference <CalendarPage_Mobile_obj1_Bindings>(obj); }