private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // PenappleWindowsApp.CanvasPage userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_CanvasPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // PenappleWindowsApp.Views.GroupsSideBar userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_GroupsSideBar; userType.SetIsLocalType(); xamlType = userType; break; case 4: // Universal.UI.Xaml.Controls.SwipeListView userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ListView")); userType.Activator = Activate_4_SwipeListView; userType.AddMemberName("ItemLeftContentTemplate"); userType.AddMemberName("ItemRightContentTemplate"); userType.AddMemberName("ItemLeftBackground"); userType.AddMemberName("ItemLeftBehavior"); userType.AddMemberName("ItemLeftCommand"); userType.AddMemberName("ItemRightBackground"); userType.AddMemberName("ItemRightBehavior"); userType.AddMemberName("ItemRightCommand"); xamlType = userType; break; case 5: // Windows.UI.Xaml.Controls.ListView xamlType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // Windows.UI.Xaml.Controls.ItemsControl xamlType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 7: // Windows.UI.Xaml.DataTemplate xamlType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // Windows.UI.Xaml.Media.Brush xamlType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // Universal.UI.Xaml.Controls.SwipeListBehavior userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Enum")); userType.AddEnumValue("Expand", global::Universal.UI.Xaml.Controls.SwipeListBehavior.Expand); userType.AddEnumValue("Collapse", global::Universal.UI.Xaml.Controls.SwipeListBehavior.Collapse); userType.AddEnumValue("Disabled", global::Universal.UI.Xaml.Controls.SwipeListBehavior.Disabled); xamlType = userType; break; case 10: // System.Enum userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType")); xamlType = userType; break; case 11: // System.ValueType userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); xamlType = userType; break; case 12: // Object xamlType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 13: // System.Windows.Input.ICommand userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, null); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 14: // PenappleWindowsApp.Views.GroupsView userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_14_GroupsView; userType.SetIsLocalType(); xamlType = userType; break; case 15: // PenappleWindowsApp.Views.LoginPage userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_15_LoginPage; userType.SetIsLocalType(); xamlType = userType; break; case 16: // PenappleWindowsApp.MainPage userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_16_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 17: // PenappleWindowsApp.ChatListView userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ListView")); userType.Activator = Activate_17_ChatListView; userType.SetIsLocalType(); xamlType = userType; break; case 18: // PenappleWindowsApp.Views.MessageHistoryView userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_18_MessageHistoryView; userType.SetIsLocalType(); xamlType = userType; break; case 19: // PenappleWindowsApp.Views.ProfilePageView userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_19_ProfilePageView; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // PenappleWindowsApp.CanvasPage userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_CanvasPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // PenappleWindowsApp.Views.GroupsView userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_GroupsView; userType.SetIsLocalType(); xamlType = userType; break; case 4: // PenappleWindowsApp.Views.LoginPage userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_4_LoginPage; userType.SetIsLocalType(); xamlType = userType; break; case 5: // PenappleWindowsApp.MainPage userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_5_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 6: // PenappleWindowsApp.ChatListView userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ListView")); userType.Activator = Activate_6_ChatListView; userType.SetIsLocalType(); xamlType = userType; break; case 7: // Windows.UI.Xaml.Controls.ListView xamlType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // Windows.UI.Xaml.Controls.ItemsControl xamlType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // PenappleWindowsApp.Views.MessageHistoryView userType = new global::PenappleWindowsApp.PenappleWindowsApp_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_9_MessageHistoryView; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }