Пример #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 1:
            {
                global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target;
                MainPage_obj1_Bindings bindings = new MainPage_obj1_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(this);
                this.Bindings     = bindings;
                element1.Loading += bindings.Loading;
            }
            break;

            case 8:
            {
                global::Windows.UI.Xaml.Controls.Grid element8 = (global::Windows.UI.Xaml.Controls.Grid)target;
                MainPage_obj8_Bindings bindings = new MainPage_obj8_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element8.DataContext);
                element8.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element8, 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 1: // MainPage.xaml line 1
            {
                global::Windows.UI.Xaml.Controls.Page element1 = (global::Windows.UI.Xaml.Controls.Page)target;
                MainPage_obj1_Bindings bindings = new MainPage_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 5: // MainPage.xaml line 154
            {
                global::Windows.UI.Xaml.Controls.StackPanel element5 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                MainPage_obj5_Bindings bindings = new MainPage_obj5_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element5.DataContext);
                element5.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element5, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element5, bindings);
            }
            break;

            case 8: // MainPage.xaml line 162
            {
                global::Windows.UI.Xaml.Controls.Frame element8 = (global::Windows.UI.Xaml.Controls.Frame)target;
                MainPage_obj8_Bindings bindings = new MainPage_obj8_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(element8.DataContext);
                element8.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element8, bindings);
                global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element8, bindings);
            }
            break;
            }
            return(returnValue);
        }
Пример #3
0
 public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
 {
     global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
     switch (connectionId)
     {
     case 8: // MainPage.xaml line 31
     {
         global::Windows.UI.Xaml.Controls.ListViewItem element8 = (global::Windows.UI.Xaml.Controls.ListViewItem)target;
         MainPage_obj8_Bindings bindings = new MainPage_obj8_Bindings();
         returnValue = bindings;
         bindings.SetDataRoot(element8.DataContext);
         element8.DataContextChanged += bindings.DataContextChangedHandler;
         global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element8, bindings);
         global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element8, bindings);
     }
     break;
     }
     return(returnValue);
 }
Пример #4
0
 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;
             MainPage_obj1_Bindings bindings = new MainPage_obj1_Bindings();
             returnValue = bindings;
             bindings.SetDataRoot(this);
             this.Bindings = bindings;
             element1.Loading += bindings.Loading;
         }
         break;
     case 8:
         {
             global::Windows.UI.Xaml.Controls.TextBlock element8 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
             MainPage_obj8_Bindings bindings = new MainPage_obj8_Bindings();
             returnValue = bindings;
             bindings.SetDataRoot((global::People.Backend.GroupingItem) element8.DataContext);
             element8.DataContextChanged += bindings.DataContextChangedHandler;
             global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element8, bindings);
         }
         break;
     }
     return returnValue;
 }