Exemplo n.º 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::VisualExplorer.Pages.Base.ThemePage element1 = (global::VisualExplorer.Pages.Base.ThemePage)target;
         PageFieldContainer_obj1_Bindings            bindings = new PageFieldContainer_obj1_Bindings();
         returnValue = bindings;
         bindings.SetDataRoot(this);
         this.Bindings     = bindings;
         element1.Loading += bindings.Loading;
     }
     break;
     }
     return(returnValue);
 }
Exemplo n.º 2
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::VisualExplorer.Pages.Base.ThemePage element1 = (global::VisualExplorer.Pages.Base.ThemePage)target;
                PageAccessContent_obj1_Bindings             bindings = new PageAccessContent_obj1_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(this);
                this.Bindings     = bindings;
                element1.Loading += bindings.Loading;
            }
            break;

            case 4:
            {
                global::Microsoft.Toolkit.Uwp.UI.Controls.Expander element4 = (global::Microsoft.Toolkit.Uwp.UI.Controls.Expander)target;
                PageAccessContent_obj4_Bindings bindings = new PageAccessContent_obj4_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::VisualExplorer.Model.Navigation.ObservableMPathAccessGroup)element4.DataContext);
                element4.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings);
            }
            break;

            case 5:
            {
                global::Windows.UI.Xaml.Controls.StackPanel element5 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                PageAccessContent_obj5_Bindings             bindings = new PageAccessContent_obj5_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::System.String)element5.DataContext);
                element5.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element5, bindings);
            }
            break;

            case 9:
            {
                global::Windows.UI.Xaml.Controls.StackPanel element9 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                PageAccessContent_obj9_Bindings             bindings = new PageAccessContent_obj9_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::VisualExplorer.Model.Navigation.MPathAccessItem)element9.DataContext);
                element9.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element9, bindings);
            }
            break;

            case 13:
            {
                global::Windows.UI.Xaml.Controls.StackPanel element13 = (global::Windows.UI.Xaml.Controls.StackPanel)target;
                PageAccessContent_obj13_Bindings            bindings  = new PageAccessContent_obj13_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::VisualExplorer.Model.Navigation.MDeviceAccessItem)element13.DataContext);
                element13.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element13, bindings);
            }
            break;
            }
            return(returnValue);
        }