コード例 #1
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  Xamarin.Forms.Platform.UWP.WindowsPage
                userType           = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Xamarin.Forms.Platform.UWP.WindowsBasePage"));
                userType.Activator = Activate_0_WindowsPage;
                xamlType           = userType;
                break;

            case 1:   //  Xamarin.Forms.Platform.UWP.WindowsBasePage
                userType = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                xamlType = userType;
                break;

            case 2:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 4:   //  Modulo1.UWP.MainPage
                userType           = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Xamarin.Forms.Platform.UWP.WindowsPage"));
                userType.Activator = Activate_4_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }
コード例 #2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  Xamarin.Forms.Platform.UWP.WindowsPage
                userType           = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Xamarin.Forms.Platform.UWP.WindowsBasePage"));
                userType.Activator = Activate_0_WindowsPage;
                xamlType           = userType;
                break;

            case 1:   //  Xamarin.Forms.Platform.UWP.WindowsBasePage
                userType = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                xamlType = userType;
                break;

            case 2:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 4:   //  Modulo1.UWP.MainPage
                userType           = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Xamarin.Forms.Platform.UWP.WindowsPage"));
                userType.Activator = Activate_4_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Syncfusion.SfChart.XForms.UWP.TooltipViewConverter
                userType           = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_5_TooltipViewConverter;
                userType.SetIsBindable();
                xamlType = userType;
                break;

            case 6:   //  Object
                xamlType = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 7:   //  Syncfusion.SfChart.XForms.UWP.DataMarkerViewConverter
                userType           = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_7_DataMarkerViewConverter;
                userType.SetIsBindable();
                xamlType = userType;
                break;

            case 8:   //  Syncfusion.SfChart.XForms.UWP.TrackballViewConverter
                userType           = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_8_TrackballViewConverter;
                userType.SetIsBindable();
                xamlType = userType;
                break;

            case 9:   //  Syncfusion.SfChart.XForms.UWP.AxisTrackballViewConverter
                userType           = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_9_AxisTrackballViewConverter;
                userType.SetIsBindable();
                xamlType = userType;
                break;

            case 10:   //  Syncfusion.SfChart.XForms.UWP.TooltipConverter
                userType           = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_10_TooltipConverter;
                userType.SetIsBindable();
                xamlType = userType;
                break;

            case 11:   //  Syncfusion.SfChart.XForms.UWP.TooltipLabelFormatConverter
                userType           = new global::Modulo1.UWP.Modulo1_UWP_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_11_TooltipLabelFormatConverter;
                userType.SetIsBindable();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }