private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::PhoneTextBoxView.PhoneTextBoxView_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::PhoneTextBoxView.PhoneTextBoxView_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // PhoneTextBoxView.PhoneTextBox userType = new global::PhoneTextBoxView.PhoneTextBoxView_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.TextBox")); userType.Activator = Activate_0_PhoneTextBox; userType.AddMemberName("WatermarkStyle"); userType.AddMemberName("Watermark"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.TextBox xamlType = new global::PhoneTextBoxView.PhoneTextBoxView_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Style xamlType = new global::PhoneTextBoxView.PhoneTextBoxView_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Object xamlType = new global::PhoneTextBoxView.PhoneTextBoxView_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::PhoneTextBoxView.PhoneTextBoxView_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::PhoneTextBoxView.PhoneTextBoxView_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // PhoneTextBoxView.PhoneTextBox userType = new global::PhoneTextBoxView.PhoneTextBoxView_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.TextBox")); userType.Activator = Activate_0_PhoneTextBox; userType.AddMemberName("WatermarkStyle"); userType.AddMemberName("Watermark"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.TextBox xamlType = new global::PhoneTextBoxView.PhoneTextBoxView_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Style xamlType = new global::PhoneTextBoxView.PhoneTextBoxView_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 3: // Object xamlType = new global::PhoneTextBoxView.PhoneTextBoxView_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return xamlType; }