Пример #1
0
 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;
             ListTextCard_obj4_Bindings bindings = new ListTextCard_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;
 }