Exemple #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.UI.Dialogs.ThemeContentDialog element1 = (global::VisualExplorer.UI.Dialogs.ThemeContentDialog)target;
                UIMultiplyOptionDialog_obj1_Bindings bindings = new UIMultiplyOptionDialog_obj1_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot(this);
                this.Bindings     = bindings;
                element1.Loading += bindings.Loading;
            }
            break;

            case 4:
            {
                global::Windows.UI.Xaml.Controls.Button element4 = (global::Windows.UI.Xaml.Controls.Button)target;
                UIMultiplyOptionDialog_obj4_Bindings    bindings = new UIMultiplyOptionDialog_obj4_Bindings();
                returnValue = bindings;
                bindings.SetDataRoot((global::System.String)element4.DataContext);
                element4.DataContextChanged += bindings.DataContextChangedHandler;
                global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings);
            }
            break;
            }
            return(returnValue);
        }
Exemple #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.UI.Dialogs.ThemeContentDialog element1 = (global::VisualExplorer.UI.Dialogs.ThemeContentDialog)target;
         UIWaitDialog_obj1_Bindings bindings = new UIWaitDialog_obj1_Bindings();
         returnValue = bindings;
         bindings.SetDataRoot(this);
         this.Bindings     = bindings;
         element1.Loading += bindings.Loading;
     }
     break;
     }
     return(returnValue);
 }