4 types derived from EnumConverter
Microsoft.Maui.Controls.DesignTools (1)
EnumConverter.cs (1)
8 internal class EnumConverter<T> : EnumConverter
System.Drawing.Common (1)
Special\NotSupported.cs (1)
389public partial class FontUnitConverter : System.ComponentModel.EnumConverter
System.Windows.Forms (2)
System\Windows\Forms\Controls\TextBox\TextBoxAutoCompleteSourceConverter.cs (1)
8internal class TextBoxAutoCompleteSourceConverter : EnumConverter
System\Windows\Forms\Dialogs\CommonDialogs\SpecialFolderEnumConverter.cs (1)
9internal partial class SpecialFolderEnumConverter : EnumConverter
11 instantiations of EnumConverter
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1799converter = new EnumConverter(typeToConvertTo);
PresentationFramework (4)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
1525converter = new EnumConverter(_context.CurrentFrame.XamlType.UnderlyingType); 1589converter = new EnumConverter(propertyType);
System\Windows\Markup\BamlMapTable.cs (2)
257tc = new System.ComponentModel.EnumConverter(type); 547tc = new System.ComponentModel.EnumConverter(propType);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
185[typeof(Enum)] = new IntrinsicTypeConverterData((type) => new EnumConverter(type), cacheConverterInstance: false),
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (1)
60TypeConverter enumConverter = new EnumConverter(enumValue.GetType());
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataGridViewCellTests.cs (2)
6139yield return new object[] { typeof(int), typeof(CheckState), CheckState.Checked, new DataGridViewCellStyle(), new EnumConverter(typeof(CheckState)), null, 1 }; 6140yield return new object[] { typeof(int), typeof(CheckState), CheckState.Checked, new DataGridViewCellStyle(), null, new EnumConverter(typeof(CheckState)), 1 };
System.Xaml (2)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\TypeConverterHelper.cs (1)
340typeConverter = new System.ComponentModel.EnumConverter(type);
System\Xaml\Schema\XamlValueConverter.cs (1)
76return (TConverterBase)(object)new EnumConverter(TargetType.UnderlyingType);
13 references to EnumConverter
Microsoft.Maui.Controls.DesignTools (1)
EnumConverter.cs (1)
6 /// Generic version of the <see cref="EnumConverter"/> for reuse.
netstandard (1)
netstandard.cs (1)
314[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.EnumConverter))]
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\KnownTypes.cs (1)
5518case KnownElements.EnumConverter: t = typeof(EnumConverter); break;
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\TypeConverterHelper.cs (1)
156converterType = typeof(EnumConverter);
PresentationFramework (4)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
289case 195: t = () => typeof(EnumConverter); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4115typeof(System.ComponentModel.EnumConverter),
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
256return base.GetValueConverter<TypeConverter>(typeof(EnumConverter), GetXamlType(converterType));
System\Windows\Markup\KnownTypes.cs (1)
5749case KnownElements.EnumConverter: t = typeof(System.ComponentModel.EnumConverter); break;
System (1)
src\libraries\shims\System\ref\System.cs (1)
300[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.EnumConverter))]
System.ComponentModel.TypeConverter (2)
System\ComponentModel\EnumConverter.cs (1)
21/// Initializes a new instance of the <see cref='System.ComponentModel.EnumConverter'/> class for the given
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
115/// specifically <see cref="EnumConverter"/>, <see cref="NullableConverter"/>, and <see cref="ReferenceConverter"/>.
System.Xaml (2)
System\Xaml\Schema\XamlValueConverter.cs (1)
73if (ConverterType == typeof(EnumConverter) &&
System\Xaml\XamlType.cs (1)
1172return SchemaContext.GetValueConverter<TypeConverter>(typeof(EnumConverter), this);