private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::StudyApplication.StudyApplication_Windows_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::StudyApplication.StudyApplication_Windows_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // StudyApp.DemoPage userType = new global::StudyApplication.StudyApplication_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_DemoPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::StudyApplication.StudyApplication_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::StudyApplication.StudyApplication_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // StudyApp.QuestionsPage userType = new global::StudyApplication.StudyApplication_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_QuestionsPage; userType.SetIsLocalType(); xamlType = userType; break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::StudyApplication.StudyApplication_Windows_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::StudyApplication.StudyApplication_Windows_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // StudyApp.DemoPage userType = new global::StudyApplication.StudyApplication_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_DemoPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::StudyApplication.StudyApplication_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::StudyApplication.StudyApplication_Windows_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // StudyApp.QuestionsPage userType = new global::StudyApplication.StudyApplication_Windows_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_3_QuestionsPage; userType.SetIsLocalType(); xamlType = userType; break; } return xamlType; }