private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Luchi.Luchi_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // PhoneTextBoxView.PhoneTextBox userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.TextBox")); userType.Activator = Activate_0_PhoneTextBox; userType.AddMemberName("Watermark"); userType.AddMemberName("WatermarkStyle"); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.TextBox xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Object xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Windows.UI.Xaml.Style xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 4: // ScrollTB.ScrollableTextBlock userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentControl")); userType.Activator = Activate_4_ScrollableTextBlock; userType.AddMemberName("Text"); xamlType = userType; break; case 5: // Windows.UI.Xaml.Controls.ContentControl xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // String xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 7: // Luchi.Views.BusAround userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_7_BusAround; userType.SetIsLocalType(); xamlType = userType; break; case 8: // Windows.UI.Xaml.Controls.Page xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 10: // Luchi.Common.StringToVisibilityConverter userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_10_StringToVisibilityConverter; userType.SetIsLocalType(); xamlType = userType; break; case 11: // Luchi.Views.BusinessView userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_11_BusinessView; userType.SetIsLocalType(); xamlType = userType; break; case 12: // Luchi.Views.BusRoute userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_12_BusRoute; userType.SetIsLocalType(); xamlType = userType; break; case 13: // Luchi.Views.BusStation userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_13_BusStation; userType.SetIsLocalType(); xamlType = userType; break; case 14: // Luchi.Views.BusTransfer userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_14_BusTransfer; userType.SetIsLocalType(); xamlType = userType; break; case 15: // Luchi.Views.CompassView userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_15_CompassView; userType.SetIsLocalType(); xamlType = userType; break; case 16: // Luchi.wheel userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_16_wheel; userType.SetIsLocalType(); xamlType = userType; break; case 17: // Luchi.MainPage userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_17_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 18: // Luchi.Views.Setting userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_18_Setting; userType.SetIsLocalType(); xamlType = userType; break; case 19: // Luchi.CirclePanel userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Panel")); userType.Activator = Activate_19_CirclePanel; userType.AddMemberName("Radius"); userType.SetIsLocalType(); xamlType = userType; break; case 20: // Windows.UI.Xaml.Controls.Panel xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 21: // Double xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Luchi.Luchi_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // PhoneTextBoxView.PhoneTextBox userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.TextBox")); userType.Activator = Activate_0_PhoneTextBox; userType.AddMemberName("Watermark"); userType.AddMemberName("WatermarkStyle"); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.TextBox xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Object xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Windows.UI.Xaml.Style xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 4: // ScrollTB.ScrollableTextBlock userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.ContentControl")); userType.Activator = Activate_4_ScrollableTextBlock; userType.AddMemberName("Text"); xamlType = userType; break; case 5: // Windows.UI.Xaml.Controls.ContentControl xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 6: // String xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 7: // Luchi.Views.BusAround userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_7_BusAround; userType.SetIsLocalType(); xamlType = userType; break; case 8: // Windows.UI.Xaml.Controls.Page xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 9: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 10: // Luchi.Common.StringToVisibilityConverter userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_10_StringToVisibilityConverter; userType.SetIsLocalType(); xamlType = userType; break; case 11: // Luchi.Views.BusinessView userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_11_BusinessView; userType.SetIsLocalType(); xamlType = userType; break; case 12: // Luchi.Views.BusRoute userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_12_BusRoute; userType.SetIsLocalType(); xamlType = userType; break; case 13: // Luchi.Views.BusStation userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_13_BusStation; userType.SetIsLocalType(); xamlType = userType; break; case 14: // Luchi.Views.BusTransfer userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_14_BusTransfer; userType.SetIsLocalType(); xamlType = userType; break; case 15: // Luchi.Views.CompassView userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_15_CompassView; userType.SetIsLocalType(); xamlType = userType; break; case 16: // Luchi.wheel userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl")); userType.Activator = Activate_16_wheel; userType.SetIsLocalType(); xamlType = userType; break; case 17: // Luchi.MainPage userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_17_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 18: // Luchi.Views.Setting userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_18_Setting; userType.SetIsLocalType(); xamlType = userType; break; case 19: // Luchi.CirclePanel userType = new global::Luchi.Luchi_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Panel")); userType.Activator = Activate_19_CirclePanel; userType.AddMemberName("Radius"); userType.SetIsLocalType(); xamlType = userType; break; case 20: // Windows.UI.Xaml.Controls.Panel xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 21: // Double xamlType = new global::Luchi.Luchi_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return xamlType; }