public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target) { global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null; switch (connectionId) { case 4: { global::Windows.UI.Xaml.Controls.Grid element4 = (global::Windows.UI.Xaml.Controls.Grid)target; MenuText_obj4_Bindings bindings = new MenuText_obj4_Bindings(); returnValue = bindings; bindings.SetDataRoot((global::ScorpGunluk.ViewModels.ItemViewModel)element4.DataContext); element4.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, 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 4: { global::Windows.UI.Xaml.Controls.Grid element4 = (global::Windows.UI.Xaml.Controls.Grid)target; MenuText_obj4_Bindings bindings = new MenuText_obj4_Bindings(); returnValue = bindings; bindings.SetDataRoot((global::UnitSocial.ViewModels.ItemViewModel) element4.DataContext); element4.DataContextChanged += bindings.DataContextChangedHandler; global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings); } break; } return returnValue; }