private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName) { global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType userType; switch (typeName) { case "Windows.UI.Xaml.Controls.Page": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page)); break; case "Windows.UI.Xaml.Controls.UserControl": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl)); break; case "ChocoDemo.NewOrderPage": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::ChocoDemo.NewOrderPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_NewOrderPage; xamlType = userType; break; case "ChocoDemo.MainPage": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::ChocoDemo.MainPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_1_MainPage; xamlType = userType; break; } return xamlType; }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(string typeName) { global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType userType; switch (typeName) { case "Windows.UI.Xaml.Controls.Control": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Control)); break; case "Object": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.Object)); break; case "Windows.UI.Xaml.DependencyObject": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.DependencyObject)); break; case "Windows.UI.Xaml.Style": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Style)); break; case "Windows.UI.Xaml.Controls.StyleSelector": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.StyleSelector)); break; case "Boolean": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.Boolean)); break; case "Double": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.Double)); break; case "Windows.UI.Xaml.Media.Brush": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Media.Brush)); break; case "Int32": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.Int32)); break; case "Windows.UI.Xaml.DataTemplate": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.DataTemplate)); break; case "Windows.UI.Xaml.Controls.DataTemplateSelector": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.DataTemplateSelector)); break; case "String": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::System.String)); break; case "Windows.UI.Xaml.Controls.Page": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.Page)); break; case "Windows.UI.Xaml.Controls.UserControl": xamlType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlSystemBaseType(typeName, typeof(global::Windows.UI.Xaml.Controls.UserControl)); break; case "Telerik.UI.Xaml.Controls.Grid.RadDataGrid": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.RadDataGrid), GetXamlTypeByName("Telerik.UI.Xaml.Controls.RadControl")); userType.Activator = Activate_0_RadDataGrid; userType.AddMemberName("ItemsSource"); AddToMapOfTypeToStandardName(typeof(global::System.Object), "Object"); userType.AddMemberName("SortDescriptors"); userType.AddMemberName("GroupDescriptors"); userType.AddMemberName("FilterDescriptors"); userType.AddMemberName("Columns"); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.ObservableCollection<global::Telerik.UI.Xaml.Controls.Grid.DataGridColumn>), "System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.DataGridColumn>"); userType.AddMemberName("AutoGenerateColumns"); AddToMapOfTypeToStandardName(typeof(global::System.Boolean), "Boolean"); userType.AddMemberName("RowBackground"); userType.AddMemberName("AlternateRowBackground"); userType.AddMemberName("AlternationStep"); AddToMapOfTypeToStandardName(typeof(global::System.Int32), "Int32"); userType.AddMemberName("AlternationStartIndex"); AddToMapOfTypeToStandardName(typeof(global::System.Int32), "Int32"); userType.AddMemberName("GridLinesBrush"); userType.AddMemberName("GridLinesVisibility"); userType.AddMemberName("GridLinesThickness"); AddToMapOfTypeToStandardName(typeof(global::System.Double), "Double"); userType.AddMemberName("SelectionUnit"); userType.AddMemberName("SelectedItem"); AddToMapOfTypeToStandardName(typeof(global::System.Object), "Object"); userType.AddMemberName("SelectionMode"); userType.AddMemberName("SelectedItems"); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.ObservableCollection<global::System.Object>), "System.Collections.ObjectModel.ObservableCollection<Object>"); userType.AddMemberName("UserColumnReorderMode"); userType.AddMemberName("UserSortMode"); userType.AddMemberName("UserGroupMode"); userType.AddMemberName("IndentWidth"); AddToMapOfTypeToStandardName(typeof(global::System.Double), "Double"); userType.AddMemberName("GroupHeaderDisplayMode"); userType.AddMemberName("GroupHeaderTemplate"); userType.AddMemberName("GroupHeaderTemplateSelector"); userType.AddMemberName("GroupHeaderStyle"); userType.AddMemberName("GroupHeaderStyleSelector"); userType.AddMemberName("Commands"); userType.AddMemberName("RowHeight"); AddToMapOfTypeToStandardName(typeof(global::System.Double), "Double"); userType.AddMemberName("CommandService"); userType.AddMemberName("DragBehavior"); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.RadControl": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.RadControl), GetXamlTypeByName("Windows.UI.Xaml.Controls.Control")); userType.AddMemberName("CurrentVisualState"); AddToMapOfTypeToStandardName(typeof(global::System.String), "String"); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.SortDescriptorCollection": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.SortDescriptorCollection), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>")); userType.CollectionAdd = VectorAdd_2_SortDescriptorCollection; xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<global::Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>), GetXamlTypeByName("System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>")); AddToMapOfTypeToStandardName(typeof(global::Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<global::Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>), "Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>"); userType.CollectionAdd = VectorAdd_3_DataDescriptorCollection; xamlType = userType; break; case "System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Collections.ObjectModel.ObservableCollection<global::Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>), GetXamlTypeByName("System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>")); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.ObservableCollection<global::Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>), "System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>"); userType.Activator = Activate_4_ObservableCollection; userType.CollectionAdd = VectorAdd_4_ObservableCollection; xamlType = userType; break; case "System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Collections.ObjectModel.Collection<global::Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>), GetXamlTypeByName("Object")); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.Collection<global::Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>), "System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase>"); userType.Activator = Activate_5_Collection; userType.CollectionAdd = VectorAdd_5_Collection; xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.SortDescriptorBase), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Grid.OrderedDescriptor")); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.OrderedDescriptor": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.OrderedDescriptor), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Grid.DataDescriptor")); userType.AddMemberName("SortOrder"); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataDescriptor": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataDescriptor), GetXamlTypeByName("Telerik.Core.ViewModelBase")); xamlType = userType; break; case "Telerik.Core.ViewModelBase": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.Core.ViewModelBase), GetXamlTypeByName("Object")); xamlType = userType; break; case "Telerik.Data.Core.SortOrder": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.Data.Core.SortOrder), GetXamlTypeByName("System.Enum")); userType.AddEnumValue("Ascending", global::Telerik.Data.Core.SortOrder.Ascending); userType.AddEnumValue("Descending", global::Telerik.Data.Core.SortOrder.Descending); xamlType = userType; break; case "System.Enum": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Enum), GetXamlTypeByName("System.ValueType")); xamlType = userType; break; case "System.ValueType": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.ValueType), GetXamlTypeByName("Object")); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.GroupDescriptorCollection": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.GroupDescriptorCollection), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>")); userType.CollectionAdd = VectorAdd_13_GroupDescriptorCollection; xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<global::Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>), GetXamlTypeByName("System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>")); AddToMapOfTypeToStandardName(typeof(global::Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<global::Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>), "Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>"); userType.CollectionAdd = VectorAdd_14_DataDescriptorCollection; xamlType = userType; break; case "System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Collections.ObjectModel.ObservableCollection<global::Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>), GetXamlTypeByName("System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>")); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.ObservableCollection<global::Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>), "System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>"); userType.Activator = Activate_15_ObservableCollection; userType.CollectionAdd = VectorAdd_15_ObservableCollection; xamlType = userType; break; case "System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Collections.ObjectModel.Collection<global::Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>), GetXamlTypeByName("Object")); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.Collection<global::Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>), "System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase>"); userType.Activator = Activate_16_Collection; userType.CollectionAdd = VectorAdd_16_Collection; xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.GroupDescriptorBase), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Grid.OrderedDescriptor")); userType.AddMemberName("DisplayContent"); AddToMapOfTypeToStandardName(typeof(global::System.Object), "Object"); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.FilterDescriptorCollection": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.FilterDescriptorCollection), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>")); userType.CollectionAdd = VectorAdd_18_FilterDescriptorCollection; xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<global::Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>), GetXamlTypeByName("System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>")); AddToMapOfTypeToStandardName(typeof(global::Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<global::Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>), "Telerik.UI.Xaml.Controls.Grid.DataDescriptorCollection<Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>"); userType.CollectionAdd = VectorAdd_19_DataDescriptorCollection; xamlType = userType; break; case "System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Collections.ObjectModel.ObservableCollection<global::Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>), GetXamlTypeByName("System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>")); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.ObservableCollection<global::Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>), "System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>"); userType.Activator = Activate_20_ObservableCollection; userType.CollectionAdd = VectorAdd_20_ObservableCollection; xamlType = userType; break; case "System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Collections.ObjectModel.Collection<global::Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>), GetXamlTypeByName("Object")); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.Collection<global::Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>), "System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase>"); userType.Activator = Activate_21_Collection; userType.CollectionAdd = VectorAdd_21_Collection; xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.FilterDescriptorBase), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Grid.DataDescriptor")); xamlType = userType; break; case "System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.DataGridColumn>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Collections.ObjectModel.ObservableCollection<global::Telerik.UI.Xaml.Controls.Grid.DataGridColumn>), GetXamlTypeByName("System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.DataGridColumn>")); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.ObservableCollection<global::Telerik.UI.Xaml.Controls.Grid.DataGridColumn>), "System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.DataGridColumn>"); userType.Activator = Activate_23_ObservableCollection; userType.CollectionAdd = VectorAdd_23_ObservableCollection; xamlType = userType; break; case "System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.DataGridColumn>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Collections.ObjectModel.Collection<global::Telerik.UI.Xaml.Controls.Grid.DataGridColumn>), GetXamlTypeByName("Object")); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.Collection<global::Telerik.UI.Xaml.Controls.Grid.DataGridColumn>), "System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.DataGridColumn>"); userType.Activator = Activate_24_Collection; userType.CollectionAdd = VectorAdd_24_Collection; xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataGridColumn": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataGridColumn), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Primitives.RadDependencyObject")); userType.AddMemberName("CellDecorationStyle"); userType.AddMemberName("CellDecorationStyleSelector"); userType.AddMemberName("CanUserReorder"); AddToMapOfTypeToStandardName(typeof(global::System.Boolean), "Boolean"); userType.AddMemberName("CanUserGroup"); AddToMapOfTypeToStandardName(typeof(global::System.Boolean), "Boolean"); userType.AddMemberName("HeaderStyle"); userType.AddMemberName("SizeMode"); userType.AddMemberName("Width"); AddToMapOfTypeToStandardName(typeof(global::System.Double), "Double"); userType.AddMemberName("ActualWidth"); AddToMapOfTypeToStandardName(typeof(global::System.Double), "Double"); userType.AddMemberName("IsAutoGenerated"); AddToMapOfTypeToStandardName(typeof(global::System.Boolean), "Boolean"); userType.AddMemberName("Header"); AddToMapOfTypeToStandardName(typeof(global::System.Object), "Object"); userType.AddMemberName("SortDirection"); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Primitives.RadDependencyObject": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Primitives.RadDependencyObject), GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataGridColumnSizeMode": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataGridColumnSizeMode), GetXamlTypeByName("System.Enum")); userType.AddEnumValue("Stretch", global::Telerik.UI.Xaml.Controls.Grid.DataGridColumnSizeMode.Stretch); userType.AddEnumValue("Auto", global::Telerik.UI.Xaml.Controls.Grid.DataGridColumnSizeMode.Auto); userType.AddEnumValue("Fixed", global::Telerik.UI.Xaml.Controls.Grid.DataGridColumnSizeMode.Fixed); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.SortDirection": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.SortDirection), GetXamlTypeByName("System.Enum")); userType.AddEnumValue("None", global::Telerik.UI.Xaml.Controls.Grid.SortDirection.None); userType.AddEnumValue("Ascending", global::Telerik.UI.Xaml.Controls.Grid.SortDirection.Ascending); userType.AddEnumValue("Descending", global::Telerik.UI.Xaml.Controls.Grid.SortDirection.Descending); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.GridLinesVisibility": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.GridLinesVisibility), GetXamlTypeByName("System.Enum")); userType.AddEnumValue("None", global::Telerik.UI.Xaml.Controls.Grid.GridLinesVisibility.None); userType.AddEnumValue("Horizontal", global::Telerik.UI.Xaml.Controls.Grid.GridLinesVisibility.Horizontal); userType.AddEnumValue("Vertical", global::Telerik.UI.Xaml.Controls.Grid.GridLinesVisibility.Vertical); userType.AddEnumValue("Both", global::Telerik.UI.Xaml.Controls.Grid.GridLinesVisibility.Both); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataGridSelectionUnit": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataGridSelectionUnit), GetXamlTypeByName("System.Enum")); userType.AddEnumValue("Row", global::Telerik.UI.Xaml.Controls.Grid.DataGridSelectionUnit.Row); userType.AddEnumValue("Cell", global::Telerik.UI.Xaml.Controls.Grid.DataGridSelectionUnit.Cell); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataGridSelectionMode": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataGridSelectionMode), GetXamlTypeByName("System.Enum")); userType.AddEnumValue("None", global::Telerik.UI.Xaml.Controls.Grid.DataGridSelectionMode.None); userType.AddEnumValue("Single", global::Telerik.UI.Xaml.Controls.Grid.DataGridSelectionMode.Single); userType.AddEnumValue("Multiple", global::Telerik.UI.Xaml.Controls.Grid.DataGridSelectionMode.Multiple); xamlType = userType; break; case "System.Collections.ObjectModel.ObservableCollection<Object>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Collections.ObjectModel.ObservableCollection<global::System.Object>), GetXamlTypeByName("System.Collections.ObjectModel.Collection<Object>")); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.ObservableCollection<global::System.Object>), "System.Collections.ObjectModel.ObservableCollection<Object>"); userType.Activator = Activate_32_ObservableCollection; userType.CollectionAdd = VectorAdd_32_ObservableCollection; xamlType = userType; break; case "System.Collections.ObjectModel.Collection<Object>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Collections.ObjectModel.Collection<global::System.Object>), GetXamlTypeByName("Object")); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.Collection<global::System.Object>), "System.Collections.ObjectModel.Collection<Object>"); userType.Activator = Activate_33_Collection; userType.CollectionAdd = VectorAdd_33_Collection; xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataGridUserColumnReorderMode": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataGridUserColumnReorderMode), GetXamlTypeByName("System.Enum")); userType.AddEnumValue("Interactive", global::Telerik.UI.Xaml.Controls.Grid.DataGridUserColumnReorderMode.Interactive); userType.AddEnumValue("None", global::Telerik.UI.Xaml.Controls.Grid.DataGridUserColumnReorderMode.None); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataGridUserSortMode": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataGridUserSortMode), GetXamlTypeByName("System.Enum")); userType.AddEnumValue("Auto", global::Telerik.UI.Xaml.Controls.Grid.DataGridUserSortMode.Auto); userType.AddEnumValue("None", global::Telerik.UI.Xaml.Controls.Grid.DataGridUserSortMode.None); userType.AddEnumValue("Single", global::Telerik.UI.Xaml.Controls.Grid.DataGridUserSortMode.Single); userType.AddEnumValue("Multiple", global::Telerik.UI.Xaml.Controls.Grid.DataGridUserSortMode.Multiple); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataGridUserGroupMode": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataGridUserGroupMode), GetXamlTypeByName("System.Enum")); userType.AddEnumValue("Auto", global::Telerik.UI.Xaml.Controls.Grid.DataGridUserGroupMode.Auto); userType.AddEnumValue("Enabled", global::Telerik.UI.Xaml.Controls.Grid.DataGridUserGroupMode.Enabled); userType.AddEnumValue("Disabled", global::Telerik.UI.Xaml.Controls.Grid.DataGridUserGroupMode.Disabled); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataGridGroupHeaderDisplayMode": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataGridGroupHeaderDisplayMode), GetXamlTypeByName("System.Enum")); userType.AddEnumValue("Frozen", global::Telerik.UI.Xaml.Controls.Grid.DataGridGroupHeaderDisplayMode.Frozen); userType.AddEnumValue("Scrollable", global::Telerik.UI.Xaml.Controls.Grid.DataGridGroupHeaderDisplayMode.Scrollable); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.Commands.CommandCollection": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.Commands.CommandCollection), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Primitives.AttachableObjectCollection<Telerik.UI.Xaml.Controls.Grid.RadDataGrid, Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>")); userType.CollectionAdd = VectorAdd_38_CommandCollection; xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Primitives.AttachableObjectCollection<Telerik.UI.Xaml.Controls.Grid.RadDataGrid, Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Primitives.AttachableObjectCollection<global::Telerik.UI.Xaml.Controls.Grid.RadDataGrid, global::Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>), GetXamlTypeByName("System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>")); AddToMapOfTypeToStandardName(typeof(global::Telerik.UI.Xaml.Controls.Primitives.AttachableObjectCollection<global::Telerik.UI.Xaml.Controls.Grid.RadDataGrid, global::Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>), "Telerik.UI.Xaml.Controls.Primitives.AttachableObjectCollection<Telerik.UI.Xaml.Controls.Grid.RadDataGrid, Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>"); userType.CollectionAdd = VectorAdd_39_AttachableObjectCollection; xamlType = userType; break; case "System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Collections.ObjectModel.ObservableCollection<global::Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>), GetXamlTypeByName("System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>")); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.ObservableCollection<global::Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>), "System.Collections.ObjectModel.ObservableCollection<Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>"); userType.Activator = Activate_40_ObservableCollection; userType.CollectionAdd = VectorAdd_40_ObservableCollection; xamlType = userType; break; case "System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::System.Collections.ObjectModel.Collection<global::Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>), GetXamlTypeByName("Object")); AddToMapOfTypeToStandardName(typeof(global::System.Collections.ObjectModel.Collection<global::Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>), "System.Collections.ObjectModel.Collection<Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand>"); userType.Activator = Activate_41_Collection; userType.CollectionAdd = VectorAdd_41_Collection; xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.Commands.DataGridCommand), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Primitives.AttachableObject<Telerik.UI.Xaml.Controls.Grid.RadDataGrid>")); userType.AddMemberName("Id"); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Primitives.AttachableObject<Telerik.UI.Xaml.Controls.Grid.RadDataGrid>": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Primitives.AttachableObject<global::Telerik.UI.Xaml.Controls.Grid.RadDataGrid>), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Primitives.RadDependencyObject")); AddToMapOfTypeToStandardName(typeof(global::Telerik.UI.Xaml.Controls.Primitives.AttachableObject<global::Telerik.UI.Xaml.Controls.Grid.RadDataGrid>), "Telerik.UI.Xaml.Controls.Primitives.AttachableObject<Telerik.UI.Xaml.Controls.Grid.RadDataGrid>"); userType.AddMemberName("Owner"); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.Commands.CommandId": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.Commands.CommandId), GetXamlTypeByName("System.Enum")); userType.AddEnumValue("Unknown", global::Telerik.UI.Xaml.Controls.Grid.Commands.CommandId.Unknown); userType.AddEnumValue("ColumnHeaderTap", global::Telerik.UI.Xaml.Controls.Grid.Commands.CommandId.ColumnHeaderTap); userType.AddEnumValue("GroupHeaderTap", global::Telerik.UI.Xaml.Controls.Grid.Commands.CommandId.GroupHeaderTap); userType.AddEnumValue("CellTap", global::Telerik.UI.Xaml.Controls.Grid.Commands.CommandId.CellTap); userType.AddEnumValue("CellDoubleTap", global::Telerik.UI.Xaml.Controls.Grid.Commands.CommandId.CellDoubleTap); userType.AddEnumValue("FlyoutGroupHeaderTap", global::Telerik.UI.Xaml.Controls.Grid.Commands.CommandId.FlyoutGroupHeaderTap); userType.AddEnumValue("CellPointerOver", global::Telerik.UI.Xaml.Controls.Grid.Commands.CommandId.CellPointerOver); userType.AddEnumValue("GenerateColumn", global::Telerik.UI.Xaml.Controls.Grid.Commands.CommandId.GenerateColumn); userType.AddEnumValue("DataBindingComplete", global::Telerik.UI.Xaml.Controls.Grid.Commands.CommandId.DataBindingComplete); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.Commands.CommandService": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.Commands.CommandService), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Grid.DataGridService")); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataGridService": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataGridService), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Primitives.AttachableObject<Telerik.UI.Xaml.Controls.Grid.RadDataGrid>")); xamlType = userType; break; case "Telerik.UI.Xaml.Controls.Grid.DataGridDragBehavior": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::Telerik.UI.Xaml.Controls.Grid.DataGridDragBehavior), GetXamlTypeByName("Telerik.UI.Xaml.Controls.Primitives.AttachableObject<Telerik.UI.Xaml.Controls.Grid.RadDataGrid>")); userType.Activator = Activate_47_DataGridDragBehavior; xamlType = userType; break; case "ChocoDemo.ProductsPage": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::ChocoDemo.ProductsPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_48_ProductsPage; xamlType = userType; break; case "ChocoDemo.NewOrderPage": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::ChocoDemo.NewOrderPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_49_NewOrderPage; xamlType = userType; break; case "ChocoDemo.MainPage": userType = new global::ChocoDemo.ChocoDemo_XamlTypeInfo.XamlUserType(this, typeName, typeof(global::ChocoDemo.MainPage), GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_50_MainPage; xamlType = userType; break; } return xamlType; }