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