28 overrides of ConvertFromString
PresentationCore (23)
System\Windows\Input\Command\KeyGestureValueSerializer.cs (1)
61public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Input\Command\MouseActionValueSerializer.cs (1)
50public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Input\Command\MouseGestureValueSerializer.cs (1)
62public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\BrushValueSerializer.cs (1)
52public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\CacheModeValueSerializer.cs (1)
52public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\DoubleCollectionValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\GeometryValueSerializer.cs (1)
52public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\Int32CollectionValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\PathFigureCollectionValueSerializer.cs (1)
52public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\PointCollectionValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\TransformValueSerializer.cs (1)
52public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\VectorCollectionValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media\FontFamilyValueSerializer.cs (1)
36public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media\ImageSourceValueSerializer.cs (1)
45public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point3DCollectionValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point3DValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point4DValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Rect3DValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Size3DValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Vector3DCollectionValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Vector3DValueSerializer.cs (1)
49public override object ConvertFromString(string value, IValueSerializerContext context)
PresentationFramework (2)
System\Windows\Input\Command\CommandValueSerializer.cs (1)
112public override object ConvertFromString(string value, IValueSerializerContext context)
System\Windows\Markup\RoutedEventValueSerializer.cs (1)
52public override object ConvertFromString(string value, IValueSerializerContext context)
System.Xaml (3)
ms\Internal\Markup\StringValueSerializer.cs (1)
27public override object ConvertFromString(string value, IValueSerializerContext? context)
ms\Internal\Markup\TypeConverterValueSerializer.cs (1)
40public override object? ConvertFromString(string value, IValueSerializerContext? context)
System\Windows\Markup\DateTimeValueSerializer.cs (1)
41public override object ConvertFromString(string value, IValueSerializerContext? context)
33 references to ConvertFromString
PresentationCore (22)
System\Windows\Input\Command\KeyGestureValueSerializer.cs (1)
67return base.ConvertFromString(value, context);
System\Windows\Input\Command\MouseActionValueSerializer.cs (1)
56return base.ConvertFromString(value, context);
System\Windows\Input\Command\MouseGestureValueSerializer.cs (1)
68return base.ConvertFromString(value, context);
System\Windows\Media\Converters\Generated\BrushValueSerializer.cs (1)
60return base.ConvertFromString( value, context );
System\Windows\Media\Converters\Generated\CacheModeValueSerializer.cs (1)
60return base.ConvertFromString( value, context );
System\Windows\Media\Converters\Generated\DoubleCollectionValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
System\Windows\Media\Converters\Generated\GeometryValueSerializer.cs (1)
60return base.ConvertFromString( value, context );
System\Windows\Media\Converters\Generated\Int32CollectionValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
System\Windows\Media\Converters\Generated\PathFigureCollectionValueSerializer.cs (1)
60return base.ConvertFromString( value, context );
System\Windows\Media\Converters\Generated\PointCollectionValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
System\Windows\Media\Converters\Generated\TransformValueSerializer.cs (1)
60return base.ConvertFromString( value, context );
System\Windows\Media\Converters\Generated\VectorCollectionValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
System\Windows\Media\ImageSourceValueSerializer.cs (1)
59return base.ConvertFromString(value, context);
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
System\Windows\Media3D\Converters\Generated\Point3DCollectionValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
System\Windows\Media3D\Converters\Generated\Point3DValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
System\Windows\Media3D\Converters\Generated\Point4DValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
System\Windows\Media3D\Converters\Generated\Rect3DValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
System\Windows\Media3D\Converters\Generated\Size3DValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
System\Windows\Media3D\Converters\Generated\Vector3DCollectionValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
System\Windows\Media3D\Converters\Generated\Vector3DValueSerializer.cs (1)
57return base.ConvertFromString( value, context );
PresentationFramework (5)
System\Windows\Input\Command\CommandValueSerializer.cs (2)
145declaringType = typeSerializer.ConvertFromString(typeName, context) as Type; 170return base.ConvertFromString(value, context);
System\Windows\Markup\RoutedEventValueSerializer.cs (2)
60Type type = typeSerializer.ConvertFromString(value.Substring(0, index), context) as Type; 66return base.ConvertFromString(value, context);
System\Windows\PropertyPath.cs (1)
883return typeSerializer.ConvertFromString(name, serializerContext) as Type;
System.Xaml.Tests (6)
System\Windows\Markup\StringValueSerializerTests.cs (1)
46Assert.Equal(value, serializer.ConvertFromString(value!, null));
System\Windows\Markup\ValueSerializerTests.cs (5)
67Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null!, null)); 68Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(null!, new CustomValueSerializerContext())); 77Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(value, null)); 78Assert.Throws<NotSupportedException>(() => serializer.ConvertFromString(value, new CustomValueSerializerContext())); 178Assert.Equal("1", serializer.ConvertFromString("1", null));