private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::Demo.Demo_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  Demo.ViewModels.MainViewModel
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Demo.Models.ModelBase"));
                userType.Activator = Activate_0_MainViewModel;
                userType.AddMemberName("CategoriesView");
                userType.AddMemberName("SamplesView");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Demo.Models.ModelBase
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 2:   //  Object
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  Windows.UI.Xaml.Data.ICollectionView
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 4:   //  Demo.Infrastructure.UriToImageSourceConverter
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_4_UriToImageSourceConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Demo.Infrastructure.ToUpperConverter
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_5_ToUpperConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  Demo.MainPage
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_6_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 9:   //  Neumann.TouchControls.ColumnViewSection
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Neumann.TouchControls.HeaderedContentControl"));
                userType.Activator = Activate_9_ColumnViewSection;
                userType.AddMemberName("IsExpanded");
                xamlType = userType;
                break;

            case 10:   //  Neumann.TouchControls.HeaderedContentControl
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentControl"));
                userType.Activator = Activate_10_HeaderedContentControl;
                userType.AddMemberName("Header");
                userType.AddMemberName("HeaderTemplate");
                xamlType = userType;
                break;

            case 11:   //  Windows.UI.Xaml.Controls.ContentControl
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 12:   //  Windows.UI.Xaml.DataTemplate
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 13:   //  Boolean
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 14:   //  Windows.UI.Color
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType"));
                userType.AddMemberName("A");
                userType.AddMemberName("B");
                userType.AddMemberName("G");
                userType.AddMemberName("R");
                xamlType = userType;
                break;

            case 15:   //  System.ValueType
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                xamlType = userType;
                break;

            case 16:   //  Byte
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType"));
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 17:   //  Neumann.TouchControls.ColumnView
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Control"));
                userType.Activator = Activate_17_ColumnView;
                userType.SetContentPropertyName("Neumann.TouchControls.ColumnView.Sections");
                userType.AddMemberName("Sections");
                userType.AddMemberName("CurrentSection");
                userType.AddMemberName("SelectedIndex");
                userType.AddMemberName("VisibleSectionCount");
                userType.AddMemberName("NormalizeColumnWidth");
                xamlType = userType;
                break;

            case 18:   //  Windows.UI.Xaml.Controls.Control
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 19:   //  Neumann.TouchControls.ColumnViewSectionCollection
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<Neumann.TouchControls.ColumnViewSection>"));
                userType.CollectionAdd = VectorAdd_19_ColumnViewSectionCollection;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 20:   //  System.Collections.ObjectModel.Collection`1<Neumann.TouchControls.ColumnViewSection>
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_20_Collection;
                userType.CollectionAdd = VectorAdd_20_Collection;
                xamlType = userType;
                break;

            case 21:   //  Int32
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 22:   //  Demo.Views.ColumnViewPage
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_22_ColumnViewPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 23:   //  Neumann.TouchControls.FanControl
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentControl"));
                userType.Activator = Activate_23_FanControl;
                userType.AddMemberName("ContentStyle");
                userType.AddMemberName("StartAngle");
                userType.AddMemberName("EndAngle");
                userType.AddMemberName("Radius");
                userType.AddMemberName("Command");
                userType.AddMemberName("DisplayMode");
                userType.AddMemberName("IsRotatingContent");
                xamlType = userType;
                break;

            case 24:   //  Windows.UI.Xaml.Style
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 25:   //  Double
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 26:   //  System.Windows.Input.ICommand
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, null);
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 27:   //  Neumann.TouchControls.DisplayMode
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Enum"));
                userType.AddEnumValue("Quarter", global::Neumann.TouchControls.DisplayMode.Quarter);
                userType.AddEnumValue("Half", global::Neumann.TouchControls.DisplayMode.Half);
                userType.AddEnumValue("Horseshoe", global::Neumann.TouchControls.DisplayMode.Horseshoe);
                xamlType = userType;
                break;

            case 28:   //  System.Enum
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType"));
                xamlType = userType;
                break;

            case 29:   //  Neumann.TouchControls.FanSelector
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentControl"));
                userType.Activator = Activate_29_FanSelector;
                userType.AddMemberName("IsRotatingContent");
                userType.AddMemberName("DisplayMode");
                userType.AddMemberName("IsOpen");
                userType.AddMemberName("Fans");
                userType.AddMemberName("ButtonStyle");
                xamlType = userType;
                break;

            case 30:   //  Neumann.TouchControls.FanCollection
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.ObservableCollection`1<Neumann.TouchControls.FanControl>"));
                userType.Activator = Activate_30_FanCollection;
                userType.CollectionAdd = VectorAdd_30_FanCollection;
                xamlType = userType;
                break;

            case 31:   //  System.Collections.ObjectModel.ObservableCollection`1<Neumann.TouchControls.FanControl>
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<Neumann.TouchControls.FanControl>"));
                userType.Activator = Activate_31_ObservableCollection;
                userType.CollectionAdd = VectorAdd_31_ObservableCollection;
                xamlType = userType;
                break;

            case 32:   //  System.Collections.ObjectModel.Collection`1<Neumann.TouchControls.FanControl>
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_32_Collection;
                userType.CollectionAdd = VectorAdd_32_Collection;
                userType.AddMemberName("Count");
                xamlType = userType;
                break;

            case 33:   //  Demo.Views.FanSelectorPage
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_33_FanSelectorPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 34:   //  Neumann.TouchControls.NumberPad
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Control"));
                userType.Activator = Activate_34_NumberPad;
                userType.AddMemberName("Minimum");
                userType.AddMemberName("Maximum");
                userType.AddMemberName("SubText");
                userType.AddMemberName("Value");
                userType.AddMemberName("PointerOverBrush");
                userType.AddMemberName("SubTextTemplate");
                xamlType = userType;
                break;

            case 35:   //  String
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 36:   //  Windows.UI.Xaml.Media.Brush
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 37:   //  Demo.Views.NumberPadPage
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_37_NumberPadPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 38:   //  Neumann.TouchControls.RadialMenu
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Control"));
                userType.Activator = Activate_38_RadialMenu;
                userType.SetContentPropertyName("Neumann.TouchControls.RadialMenu.Items");
                userType.AddMemberName("Items");
                userType.AddMemberName("ImageSource");
                userType.AddMemberName("IsOpen");
                userType.AddMemberName("IsExpanded");
                xamlType = userType;
                break;

            case 39:   //  Neumann.TouchControls.RadialMenuItemCollection
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<Neumann.TouchControls.RadialMenuItem>"));
                userType.CollectionAdd = VectorAdd_39_RadialMenuItemCollection;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 40:   //  System.Collections.ObjectModel.Collection`1<Neumann.TouchControls.RadialMenuItem>
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_40_Collection;
                userType.CollectionAdd = VectorAdd_40_Collection;
                xamlType = userType;
                break;

            case 41:   //  Neumann.TouchControls.RadialMenuItem
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Control"));
                userType.Activator = Activate_41_RadialMenuItem;
                userType.SetContentPropertyName("Neumann.TouchControls.RadialMenuItem.Items");
                userType.AddMemberName("Items");
                userType.AddMemberName("Header");
                userType.AddMemberName("ImageSource");
                userType.AddMemberName("HasChildren");
                userType.AddMemberName("Command");
                userType.AddMemberName("CommandParameter");
                userType.AddMemberName("Position");
                userType.AddMemberName("StartAngle");
                userType.AddMemberName("EndAngle");
                userType.AddMemberName("ShowFocusIndicator");
                xamlType = userType;
                break;

            case 42:   //  Windows.UI.Xaml.Media.ImageSource
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 43:   //  Demo.Views.RadialMenuPage
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_43_RadialMenuPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 44:   //  Neumann.TouchControls.RadialPicker
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Control"));
                userType.Activator = Activate_44_RadialPicker;
                userType.AddMemberName("Minimum");
                userType.AddMemberName("Maximum");
                userType.AddMemberName("Distance");
                userType.AddMemberName("Value");
                userType.AddMemberName("AcceptOnlyStepValues");
                userType.AddMemberName("StartAngle");
                userType.AddMemberName("EndAngle");
                userType.AddMemberName("OpenWhenLoaded");
                xamlType = userType;
                break;

            case 45:   //  Demo.Views.RadialPickerPage
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_45_RadialPickerPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 46:   //  Demo.ViewModels.RadialPresenterViewModel
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Demo.Models.ModelBase"));
                userType.Activator = Activate_46_RadialPresenterViewModel;
                userType.AddMemberName("SelectionCommand");
                userType.AddMemberName("TopicHierarchy");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 47:   //  Neumann.TouchControls.TopicCollection
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.ObservableCollection`1<Neumann.TouchControls.Topic>"));
                userType.CollectionAdd = VectorAdd_47_TopicCollection;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 48:   //  System.Collections.ObjectModel.ObservableCollection`1<Neumann.TouchControls.Topic>
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<Neumann.TouchControls.Topic>"));
                userType.Activator = Activate_48_ObservableCollection;
                userType.CollectionAdd = VectorAdd_48_ObservableCollection;
                xamlType = userType;
                break;

            case 49:   //  System.Collections.ObjectModel.Collection`1<Neumann.TouchControls.Topic>
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_49_Collection;
                userType.CollectionAdd = VectorAdd_49_Collection;
                xamlType = userType;
                break;

            case 50:   //  Neumann.TouchControls.Topic
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_50_Topic;
                userType.AddMemberName("Name");
                userType.AddMemberName("Image");
                userType.AddMemberName("ImagePathResourceName");
                userType.AddMemberName("Children");
                userType.AddMemberName("Parent");
                xamlType = userType;
                break;

            case 51:   //  Windows.UI.Xaml.Media.Imaging.BitmapImage
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 52:   //  Demo.Infrastructure.SideBarImageToImageSourceConverter
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_52_SideBarImageToImageSourceConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 53:   //  Neumann.TouchControls.RadialPresenter
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ItemsControl"));
                userType.Activator = Activate_53_RadialPresenter;
                userType.AddMemberName("StrokeThickness");
                userType.AddMemberName("ItemHierarchy");
                userType.AddMemberName("CenterContent");
                userType.AddMemberName("ImageSource");
                userType.AddMemberName("IsOpen");
                userType.AddMemberName("SelectedItem");
                userType.AddMemberName("CenterContentTemplate");
                xamlType = userType;
                break;

            case 54:   //  Windows.UI.Xaml.Controls.ItemsControl
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 55:   //  Neumann.TouchControls.RadialPresenterItem
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentControl"));
                userType.Activator = Activate_55_RadialPresenterItem;
                userType.AddMemberName("ImagePath");
                userType.AddMemberName("Command");
                userType.AddMemberName("ImageSource");
                userType.AddMemberName("ImagePathGeometry");
                userType.AddMemberName("StrokeThickness");
                userType.AddMemberName("CommandParameter");
                xamlType = userType;
                break;

            case 56:   //  Windows.UI.Xaml.Media.PathGeometry
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 57:   //  Demo.Views.RadialPresenterPage
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_57_RadialPresenterPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 58:   //  Neumann.TouchControls.RangeSlider
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Control"));
                userType.Activator = Activate_58_RangeSlider;
                userType.AddMemberName("Minimum");
                userType.AddMemberName("Maximum");
                userType.AddMemberName("Value1");
                userType.AddMemberName("Value2");
                userType.AddMemberName("Range");
                xamlType = userType;
                break;

            case 59:   //  Demo.Views.RangeSliderPage
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_59_RangeSliderPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 60:   //  Neumann.TouchControls.Spinner
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Control"));
                userType.Activator = Activate_60_Spinner;
                userType.AddMemberName("Maximum");
                userType.AddMemberName("Value");
                userType.AddMemberName("Label");
                userType.AddMemberName("LabelTemplate");
                userType.AddMemberName("Minimum");
                userType.AddMemberName("SelectionColor");
                xamlType = userType;
                break;

            case 61:   //  Demo.Views.SpinnerPage
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_61_SpinnerPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return xamlType;
        }
示例#2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::Demo.Demo_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  Demo.Camera
                userType           = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_0_Camera;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

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

            case 2:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  Demo.Achievement
                userType           = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_3_Achievement;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  Demo.Home
                userType           = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_4_Home;
                userType.AddMemberName("Items");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  System.Collections.Generic.List`1<Demo.Home.Item>
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.CollectionAdd = VectorAdd_5_List;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 6:   //  Object
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 7:   //  Demo.Home.Item
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.AddMemberName("Uid");
                userType.AddMemberName("Title");
                userType.AddMemberName("Subtitle");
                userType.AddMemberName("Image");
                userType.AddMemberName("Address");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 8:   //  Int32
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 9:   //  String
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 10:   //  Demo.MainPage
                userType           = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_10_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 11:   //  Demo.Duel
                userType           = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_11_Duel;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  Demo.Person
                userType           = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_12_Person;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  Demo.Preview
                userType           = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_13_Preview;
                userType.AddMemberName("Ranks");
                userType.AddMemberName("Comments");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 14:   //  System.Collections.Generic.List`1<Demo.Preview.Rank>
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.CollectionAdd = VectorAdd_14_List;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 15:   //  Demo.Preview.Rank
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.AddMemberName("Num");
                userType.AddMemberName("Name");
                userType.AddMemberName("Image");
                userType.AddMemberName("Similiarity");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 16:   //  Double
                xamlType = new global::Demo.Demo_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 17:   //  System.Collections.ObjectModel.ObservableCollection`1<Demo.Preview.Comment>
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<Demo.Preview.Comment>"));
                userType.CollectionAdd = VectorAdd_17_ObservableCollection;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 18:   //  System.Collections.ObjectModel.Collection`1<Demo.Preview.Comment>
                userType               = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator     = Activate_18_Collection;
                userType.CollectionAdd = VectorAdd_18_Collection;
                xamlType               = userType;
                break;

            case 19:   //  Demo.Preview.Comment
                userType = new global::Demo.Demo_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.AddMemberName("Name");
                userType.AddMemberName("_Comment");
                userType.AddMemberName("Performance");
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }