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; MenuMedium_obj4_Bindings bindings = new MenuMedium_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; MenuMedium_obj4_Bindings bindings = new MenuMedium_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; }