139 overrides of ConvertFrom
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
4626public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.AspNetCore.Components.Tests (2)
BindConverterTest.cs (1)
400public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
EventCallbackFactoryBinderExtensionsTest.cs (1)
699public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
517public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2916public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
HeaderModelBinderIntegrationTest.cs (1)
503public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
SimpleTypeModelBinderIntegrationTest.cs (1)
839public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\StringEnumConverter.cs (1)
76public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
PresentationCore (41)
MS\Internal\IListConverters.cs (1)
52public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value)
System\Windows\CultureInfoConverter.cs (1)
88public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\DurationConverter.cs (1)
62public override object ConvertFrom(
System\Windows\FontStretchConverter.cs (1)
70public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value)
System\Windows\FontStyleConverter.cs (1)
70public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value)
System\Windows\FontWeightConverter.cs (1)
70public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value)
System\Windows\Ink\StrokeCollectionConverter.cs (1)
81public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Input\Command\KeyGestureConverter.cs (1)
82public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Input\Command\MouseActionConverter.cs (1)
63public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Input\Command\MouseGestureConverter.cs (1)
57public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Input\CursorConverter.cs (1)
101public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Input\InputScopeConverter.cs (1)
104public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Input\InputScopeNameConverter.cs (1)
91public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Markup\XmlLanguageConverter.cs (1)
81public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Media\Animation\KeySplineConverter.cs (1)
68public override object ConvertFrom(
System\Windows\Media\Animation\KeyTimeConverter.cs (1)
66public override object ConvertFrom(
System\Windows\Media\Animation\RepeatBehaviorConverter.cs (1)
68public override object ConvertFrom(
System\Windows\Media\ColorConverter.cs (1)
80public override object ConvertFrom(ITypeDescriptorContext td, System.Globalization.CultureInfo ci, object value)
System\Windows\Media\FontFamilyConverter.cs (1)
87public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo cultureInfo, object o)
System\Windows\Media\Generated\BrushConverter.cs (1)
111public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\CacheModeConverter.cs (1)
111public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\DoubleCollectionConverter.cs (1)
97public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\GeometryConverter.cs (1)
111public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\Int32CollectionConverter.cs (1)
97public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (1)
111public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\PointCollectionConverter.cs (1)
97public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\TransformConverter.cs (1)
111public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\Generated\VectorCollectionConverter.cs (1)
97public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\ImageSourceConverter.cs (1)
100public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media\PixelFormatConverter.cs (1)
83public override object ConvertFrom(ITypeDescriptorContext td, System.Globalization.CultureInfo ci, object o)
System\Windows\Media\RequestCachePolicyConverter.cs (1)
74public override object ConvertFrom(ITypeDescriptorContext td, System.Globalization.CultureInfo ci, object value)
System\Windows\Media3D\Generated\Matrix3DConverter.cs (1)
93public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (1)
93public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Point3DConverter.cs (1)
93public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Point4DConverter.cs (1)
93public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\QuaternionConverter.cs (1)
93public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Rect3DConverter.cs (1)
93public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Size3DConverter.cs (1)
93public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (1)
93public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Media3D\Generated\Vector3DConverter.cs (1)
93public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\TextDecorationCollectionConverter.cs (1)
72public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object input)
PresentationFramework (19)
System\Windows\Controls\DataGridLengthConverter.cs (1)
72public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (1)
101public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source)
System\Windows\CornerRadiusConverter.cs (1)
103public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source)
System\Windows\DeferrableContentConverter.cs (1)
43public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\DialogResultConverter.cs (1)
59public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\EventSetterHandlerConverter.cs (1)
50public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\FigureLengthConverter.cs (1)
108public override object ConvertFrom(
System\Windows\FontSizeConverter.cs (1)
73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\GridLengthConverter.cs (1)
110public override object ConvertFrom(
System\Windows\Input\Command\CommandConverter.cs (1)
96public override object ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, object source )
System\Windows\LengthConverter.cs (1)
109public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Markup\DependencyPropertyConverter.cs (1)
72public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Markup\RoutedEventConverter.cs (1)
45public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
71public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\Markup\TemplateKeyConverter.cs (1)
60public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source)
System\Windows\PropertyPathConverter.cs (1)
100public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\SystemKeyConverter.cs (1)
87public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\ThemeModeConverter.cs (1)
70public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext,
System\Windows\ThicknessConverter.cs (1)
96public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source)
ReachFramework (3)
Serialization\ColorTypeConverter.cs (1)
105ConvertFrom(
Serialization\FontTypeConverter.cs (1)
102ConvertFrom(
Serialization\ImageSourceTypeConverter.cs (1)
111ConvertFrom(
System.CodeDom (2)
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
19public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (1)
19public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System.ComponentModel.TypeConverter (22)
System\ComponentModel\BaseNumberConverter.cs (1)
53public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\BooleanConverter.cs (1)
28public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\CharConverter.cs (1)
42public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\CultureInfoConverter.cs (1)
61public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\DateOnlyConverter.cs (1)
35public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\DateTimeConverter.cs (1)
39public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\DateTimeOffsetConverter.cs (1)
39public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\EnumConverter.cs (1)
80public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\GuidConverter.cs (1)
39public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\NullableConverter.cs (1)
58public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
System\ComponentModel\ReferenceConverter.cs (1)
46public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\StringConverter.cs (1)
26public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
System\ComponentModel\TimeOnlyConverter.cs (1)
35public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\TimeSpanConverter.cs (1)
40public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\TypeListConverter.cs (1)
49public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\ComponentModel\UriTypeConverter.cs (1)
40public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
System\ComponentModel\VersionConverter.cs (1)
40public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\ColorConverter.cs (1)
38public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\PointConverter.cs (1)
25public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\RectangleConverter.cs (1)
25public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\SizeConverter.cs (1)
25public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Drawing\SizeFConverter.cs (1)
25public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System.Configuration.ConfigurationManager (9)
System\Configuration\CommaDelimitedStringAttributeCollectionConverter.cs (1)
18public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\GenericEnumConverter.cs (1)
27public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\IdnElement.cs (1)
50public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Configuration\InfiniteIntConverter.cs (1)
19public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\InfiniteTimeSpanConverter.cs (1)
22public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\TimeSpanMinutesConverter.cs (1)
19public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\TimeSpanSecondsConverter.cs (1)
20public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\TypeNameConverter.cs (1)
23public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System\Configuration\WhiteSpaceTrimStringConverter.cs (1)
18public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
System.Data.Common (1)
System\Data\ColumnTypeConverter.cs (1)
111public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System.Drawing.Common (6)
Special\NotSupported.cs (6)
371public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 382public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 731public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 824public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 836public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2737public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonControlLengthConverter.cs (1)
79public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (1)
56public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System.Windows.Forms (13)
System\Resources\ResxFileRef.Converter.cs (1)
93public override object? ConvertFrom(
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
26public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (1)
22public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (1)
63public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
50public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Controls\Labels\LinkConverter.cs (1)
46public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
53public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
50public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (1)
32public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Input\CursorConverter.cs (1)
51public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Input\KeysConverter.cs (1)
151public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
33public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
45public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System.Windows.Forms.Design (3)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
324public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
33public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Windows\Forms\Design\DataMemberFieldConverter.cs (1)
14public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\PaddingConverter.cs (1)
20public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System.Xaml (8)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\Replacements\TypeUriConverter.cs (1)
62public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Windows\Markup\NameReferenceConverter.cs (1)
25public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Xaml\EventConverter.cs (1)
28public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Xaml\Replacements\DateTimeConverter2.cs (1)
38public override object ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)
System\Xaml\Replacements\DateTimeOffsetConverter2.cs (1)
78public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Xaml\Replacements\TypeListConverter.cs (1)
23public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Xaml\Replacements\TypeTypeConverter.cs (1)
22public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
19public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
System.Xaml.Tests (1)
System\Windows\Markup\ValueSerializerTests.cs (1)
473public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object? value)
113 references to ConvertFrom
Microsoft.AspNetCore.Components (1)
BindConverter.cs (1)
2062var converted = typeConverter.ConvertFrom(context: null, culture ?? CultureInfo.CurrentCulture, obj);
Microsoft.AspNetCore.Components.Tests (1)
BindConverterTest.cs (1)
407return base.ConvertFrom(context, culture, value);
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
520: base.ConvertFrom(context, culture, value);
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2923return base.ConvertFrom(context, culture, value);
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Binders\SimpleTypeModelBinder.cs (1)
79model = _typeConverter.ConvertFrom(
ModelBinding\ModelBindingHelper.cs (1)
721? converter.ConvertFrom(null, culture, value)
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
SimpleTypeModelBinderIntegrationTest.cs (1)
846return base.ConvertFrom(context, culture, value);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\StringEnumConverter.cs (1)
83return base.ConvertFrom(context, culture, value);
PresentationCore (28)
System\Windows\Ink\StrokeCollectionConverter.cs (1)
110return base.ConvertFrom(context, culture, value);
System\Windows\Input\Command\MouseGestureConverter.cs (2)
84object mouseAction = mouseActionConverter.ConvertFrom(context, culture, mouseActionToken); 95object modifierKeys = modifierKeysConverter.ConvertFrom(context, culture, modifiersToken);
System\Windows\Media\Animation\KeyTimeConverter.cs (3)
90typeof(double)).ConvertFrom( 111typeof(TimeSpan)).ConvertFrom( 120return base.ConvertFrom(
System\Windows\Media\Animation\RepeatBehaviorConverter.cs (2)
88double doubleValue = (double)TypeDescriptor.GetConverter(typeof(double)).ConvertFrom(td, cultureInfo, stringDoubleValue); 97TimeSpan timeSpanValue = (TimeSpan)TypeDescriptor.GetConverter(typeof(TimeSpan)).ConvertFrom(td, cultureInfo, stringValue);
System\Windows\Media\FontFamilyConverter.cs (1)
129return base.ConvertFrom(context, cultureInfo, o);
System\Windows\Media\Generated\BrushConverter.cs (1)
125return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\CacheModeConverter.cs (1)
125return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\DoubleCollectionConverter.cs (1)
111return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\GeometryConverter.cs (1)
125return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\Int32CollectionConverter.cs (1)
111return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (1)
125return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\PointCollectionConverter.cs (1)
111return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\TransformConverter.cs (1)
125return base.ConvertFrom(context, culture, value);
System\Windows\Media\Generated\VectorCollectionConverter.cs (1)
111return base.ConvertFrom(context, culture, value);
System\Windows\Media\ImageSourceConverter.cs (1)
160return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Matrix3DConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Point3DConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Point4DConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\QuaternionConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Rect3DConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Size3DConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
System\Windows\Media3D\Generated\Vector3DConverter.cs (1)
107return base.ConvertFrom(context, culture, value);
PresentationFramework (7)
MS\Internal\Data\DefaultValueConverter.cs (1)
311value = _typeConverter.ConvertFrom(ctx, culture, o);
System\Windows\Data\BindingExpressionBase.cs (1)
2210result = converter.ConvertFrom(null, CultureInfo.InvariantCulture, value);
System\Windows\DeferrableContentConverter.cs (1)
90return base.ConvertFrom(context, culture, value);
System\Windows\Markup\Baml2006\TypeConverterMarkupExtension.cs (1)
24return _converter.ConvertFrom(new TypeConverterContext(serviceProvider), System.Globalization.CultureInfo.InvariantCulture, _value);
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
183return converter.ConvertFrom(serviceProvider, culture, source);
System\Windows\SystemKeyConverter.cs (1)
89return base.ConvertFrom(context, culture, value);
System\Windows\TemplateContent.cs (1)
876value = converter.ConvertFrom(TemplateLoadData.ServiceProviderWrapper, CultureInfo.InvariantCulture, value);
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (1)
241: converter.ConvertFrom(null, CultureInfo.InvariantCulture, value);
System.ComponentModel.TypeConverter (27)
System\ComponentModel\BaseNumberConverter.cs (1)
84return base.ConvertFrom(context, culture, value);
System\ComponentModel\BooleanConverter.cs (1)
42return base.ConvertFrom(context, culture, value);
System\ComponentModel\CharConverter.cs (1)
64return base.ConvertFrom(context, culture, value);
System\ComponentModel\CultureInfoConverter.cs (1)
133return base.ConvertFrom(context, culture, value);
System\ComponentModel\DateOnlyConverter.cs (1)
70return base.ConvertFrom(context, culture, value);
System\ComponentModel\DateTimeConverter.cs (1)
74return base.ConvertFrom(context, culture, value);
System\ComponentModel\DateTimeOffsetConverter.cs (1)
74return base.ConvertFrom(context, culture, value);
System\ComponentModel\EnumConverter.cs (1)
117return base.ConvertFrom(context, culture, value);
System\ComponentModel\GuidConverter.cs (1)
46return base.ConvertFrom(context, culture, value);
System\ComponentModel\NullableConverter.cs (2)
70return UnderlyingTypeConverter.ConvertFrom(context, culture, value); 73return base.ConvertFrom(context, culture, value);
System\ComponentModel\ReferenceConverter.cs (1)
78return base.ConvertFrom(context, culture, value);
System\ComponentModel\StringConverter.cs (1)
36return base.ConvertFrom(context, culture, value);
System\ComponentModel\TimeOnlyConverter.cs (1)
70return base.ConvertFrom(context, culture, value);
System\ComponentModel\TimeSpanConverter.cs (1)
55return base.ConvertFrom(context, culture, value);
System\ComponentModel\TypeConverter.cs (5)
49public object? ConvertFrom(object value) => ConvertFrom(null, CultureInfo.CurrentCulture, value); 82public object? ConvertFromString(string text) => ConvertFrom(null, null, text); 89return ConvertFrom(context, CultureInfo.CurrentCulture, text); 97return ConvertFrom(context, culture, text); 317ConvertFrom(context, CultureInfo.InvariantCulture, value!);
System\ComponentModel\TypeListConverter.cs (1)
62return base.ConvertFrom(context, culture, value);
System\ComponentModel\VersionConverter.cs (1)
59return base.ConvertFrom(context, culture, value);
System\Drawing\ColorConverter.cs (1)
45return base.ConvertFrom(context, culture, value);
System\Drawing\PointConverter.cs (1)
58return base.ConvertFrom(context, culture, value);
System\Drawing\RectangleConverter.cs (1)
56return base.ConvertFrom(context, culture, value);
System\Drawing\SizeConverter.cs (1)
56return base.ConvertFrom(context, culture, value);
System\Drawing\SizeFConverter.cs (1)
55return base.ConvertFrom(context, culture, value);
System.Configuration.ConfigurationManager (1)
System\Configuration\IdnElement.cs (1)
65return base.ConvertFrom(context, culture, value);
System.Data.Common (1)
System\Data\ColumnTypeConverter.cs (1)
126return base.ConvertFrom(context, culture, value!);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (1)
82return base.ConvertFrom(context, culture, value);
System.Windows.Forms (21)
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
34return base.ConvertFrom(context, culture, value);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1190newValue = converter.ConvertFrom(null, CultureInfo.InvariantCulture, FromBase64WrappedString(value));
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (1)
23=> value is string valueAsString ? _com2Enum.FromString(valueAsString) : base.ConvertFrom(context, culture, value);
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (2)
65? _innerConverter.ConvertFrom(context, culture, value) 66: base.ConvertFrom(context, culture, value);
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
76return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Controls\Labels\LinkConverter.cs (1)
72return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
78return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
82return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (3)
50percent = (double)TypeDescriptor.GetConverter(typeof(double)).ConvertFrom(context, culture, text)!; 55percent = (double)TypeDescriptor.GetConverterFromRegisteredType(typeof(double)).ConvertFrom(context, culture, text)!; 89return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Input\CursorConverter.cs (1)
73return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Input\KeysConverter.cs (1)
210return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Internal\Formatter.cs (5)
168return targetConverter.ConvertFrom(context: null, GetFormatterCulture(formatInfo), value); 213return targetConverter.ConvertFrom(context: null, GetFormatterCulture(formatInfo), value); 313return targetConverter.ConvertFrom(context: null, GetFormatterCulture(formatInfo), value!); 348return targetConverter.ConvertFrom(context: null, GetFormatterCulture(formatInfo), state == CheckState.Checked); 371return targetConverter.ConvertFrom(context: null, GetFormatterCulture(formatInfo), value!);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
61return base.ConvertFrom(context, culture, value);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
60return base.ConvertFrom(context, culture, value);
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionPanel.PropertyLine.cs (1)
64newValue = PropertyDescriptor.Converter.ConvertFrom(_typeDescriptorContext, CultureInfo.CurrentCulture, newValue);
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
330_ => base.ConvertFrom(context, culture, value)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
34=> GetConverter(context).ConvertFrom(context, culture, value);
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\DataMemberFieldConverterTests.cs (1)
28Assert.Equal(expected, s_converter.ConvertFrom(s_context, CultureInfo.CurrentCulture, actual));
System.Windows.Forms.Primitives (1)
System\Windows\Forms\PaddingConverter.cs (1)
24return base.ConvertFrom(context, culture, value);
System.Windows.Forms.Tests (4)
System\Windows\Forms\ListViewGroupConverterTests.cs (3)
82Assert.Same(group, converter.ConvertFrom(mockContext.Object, null, value)); 113Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(mockContext.Object, null, "value")); 114Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(mockContext.Object, null, "HEADER"));
System\Windows\Forms\TableLayoutPanelCellPositionTests.cs (1)
124Assert.Equal(expected, converter.ConvertFrom(null, null, value));
System.Xaml (9)
ms\Internal\Markup\TypeConverterValueSerializer.cs (1)
44return converter.ConvertFrom(context, TypeConverterHelper.InvariantEnglishUS, value);
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\Replacements\TypeUriConverter.cs (1)
89return base.ConvertFrom(context, culture, value);
System\Xaml\EventConverter.cs (1)
39return base.ConvertFrom(context, culture, value);
System\Xaml\Replacements\DateTimeOffsetConverter2.cs (1)
85return base.ConvertFrom(context, culture, value);
System\Xaml\Replacements\TypeListConverter.cs (1)
37return base.ConvertFrom(context, culture, value);
System\Xaml\Replacements\TypeTypeConverter.cs (1)
33return base.ConvertFrom(context, culture, value);
System\Xaml\Runtime\ClrObjectRuntime.cs (2)
637obj = typeConverter.ConvertFrom(serviceContext, TypeConverterHelper.InvariantEnglishUS, value); 643obj = typeConverter.ConvertFrom(serviceContext, TypeConverterHelper.InvariantEnglishUS, value);
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
32return base.ConvertFrom(context, culture, value);