private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {
            case 0:   //  HamburgerMenu.MainPage
                userType           = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return(xamlType);
        }
Exemple #2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {
            case 0:   //  Microsoft.Xaml.Interactivity.Interaction
                userType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.AddMemberName("Behaviors");
                xamlType = userType;
                break;

            case 1:   //  Object
                xamlType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Microsoft.Xaml.Interactivity.BehaviorCollection
                userType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObjectCollection"));
                userType.CollectionAdd = VectorAdd_2_BehaviorCollection;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 3:   //  Windows.UI.Xaml.DependencyObjectCollection
                xamlType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 4:   //  Windows.UI.Xaml.DependencyObject
                xamlType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 5:   //  Microsoft.Toolkit.Uwp.UI.Animations.Behaviors.Blur
                userType           = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Microsoft.Toolkit.Uwp.UI.Animations.Behaviors.CompositionBehaviorBase"));
                userType.Activator = Activate_5_Blur;
                userType.AddMemberName("Value");
                xamlType = userType;
                break;

            case 6:   //  Microsoft.Toolkit.Uwp.UI.Animations.Behaviors.CompositionBehaviorBase
                userType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Microsoft.Xaml.Interactivity.Behavior`1<Windows.UI.Xaml.UIElement>"));
                userType.AddMemberName("Duration");
                userType.AddMemberName("Delay");
                userType.AddMemberName("AutomaticallyStart");
                xamlType = userType;
                break;

            case 7:   //  Microsoft.Xaml.Interactivity.Behavior`1<Windows.UI.Xaml.UIElement>
                userType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Microsoft.Xaml.Interactivity.Behavior"));
                userType.AddMemberName("AssociatedObject");
                xamlType = userType;
                break;

            case 8:   //  Microsoft.Xaml.Interactivity.Behavior
                userType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject"));
                xamlType = userType;
                break;

            case 9:   //  Double
                xamlType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 10:   //  Boolean
                xamlType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 11:   //  Windows.UI.Xaml.UIElement
                xamlType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 12:   //  HamburgerMenu.MainPage
                userType           = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 14:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::HamburgerMenu.HamburgerMenu_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return(xamlType);
        }