14 references to EnumConverter
Microsoft.Maui.Controls.DesignTools (1)
EnumConverter.cs (1)
10 public EnumConverter() : base(typeof(T))
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1804converter = new EnumConverter(typeToConvertTo);
PresentationFramework (4)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
1532converter = new EnumConverter(_context.CurrentFrame.XamlType.UnderlyingType); 1596converter = new EnumConverter(propertyType);
System\Windows\Markup\BamlMapTable.cs (2)
253tc = new System.ComponentModel.EnumConverter(type); 545tc = 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 (2)
System\Windows\Forms\Controls\TextBox\TextBoxAutoCompleteSourceConverter.cs (1)
10public TextBoxAutoCompleteSourceConverter(Type type) : base(type)
System\Windows\Forms\Dialogs\CommonDialogs\SpecialFolderEnumConverter.cs (1)
13Type type) : base(type)
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)
339typeConverter = new System.ComponentModel.EnumConverter(type);
System\Xaml\Schema\XamlValueConverter.cs (1)
76return (TConverterBase)(object)new EnumConverter(TargetType.UnderlyingType);