28 overrides of ConvertFromString
PresentationCore (23)
System\Windows\Input\Command\KeyGestureValueSerializer.cs (1)
56
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Input\Command\MouseActionValueSerializer.cs (1)
49
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Input\Command\MouseGestureValueSerializer.cs (1)
61
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\BrushValueSerializer.cs (1)
60
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\CacheModeValueSerializer.cs (1)
60
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\DoubleCollectionValueSerializer.cs (1)
58
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\GeometryValueSerializer.cs (1)
60
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\Int32CollectionValueSerializer.cs (1)
58
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\PathFigureCollectionValueSerializer.cs (1)
60
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\PointCollectionValueSerializer.cs (1)
58
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\TransformValueSerializer.cs (1)
60
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\VectorCollectionValueSerializer.cs (1)
58
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\FontFamilyValueSerializer.cs (1)
32
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\ImageSourceValueSerializer.cs (1)
41
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (1)
56
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point3DCollectionValueSerializer.cs (1)
56
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point3DValueSerializer.cs (1)
56
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point4DValueSerializer.cs (1)
56
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (1)
56
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Rect3DValueSerializer.cs (1)
56
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Size3DValueSerializer.cs (1)
56
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Vector3DCollectionValueSerializer.cs (1)
56
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Vector3DValueSerializer.cs (1)
56
public override object
ConvertFromString
(string value, IValueSerializerContext context)
PresentationFramework (2)
System\Windows\Input\Command\CommandValueSerializer.cs (1)
111
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Markup\RoutedEventValueSerializer.cs (1)
51
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System.Xaml (3)
ms\Internal\Markup\StringValueSerializer.cs (1)
26
public override object
ConvertFromString
(string value, IValueSerializerContext? context)
ms\Internal\Markup\TypeConverterValueSerializer.cs (1)
39
public override object?
ConvertFromString
(string value, IValueSerializerContext? context)
System\Windows\Markup\DateTimeValueSerializer.cs (1)
37
public override object
ConvertFromString
(string value, IValueSerializerContext? context)
33 references to ConvertFromString
PresentationCore (22)
System\Windows\Input\Command\KeyGestureValueSerializer.cs (1)
62
return base.
ConvertFromString
(value, context);
System\Windows\Input\Command\MouseActionValueSerializer.cs (1)
55
return base.
ConvertFromString
(value, context);
System\Windows\Input\Command\MouseGestureValueSerializer.cs (1)
67
return base.
ConvertFromString
(value, context);
System\Windows\Media\Converters\Generated\BrushValueSerializer.cs (1)
68
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\CacheModeValueSerializer.cs (1)
68
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\DoubleCollectionValueSerializer.cs (1)
66
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\GeometryValueSerializer.cs (1)
68
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\Int32CollectionValueSerializer.cs (1)
66
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\PathFigureCollectionValueSerializer.cs (1)
68
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\PointCollectionValueSerializer.cs (1)
66
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\TransformValueSerializer.cs (1)
68
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\VectorCollectionValueSerializer.cs (1)
66
return base.
ConvertFromString
( value, context );
System\Windows\Media\ImageSourceValueSerializer.cs (1)
55
return base.
ConvertFromString
(value, context);
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (1)
64
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Point3DCollectionValueSerializer.cs (1)
64
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Point3DValueSerializer.cs (1)
64
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Point4DValueSerializer.cs (1)
64
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (1)
64
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Rect3DValueSerializer.cs (1)
64
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Size3DValueSerializer.cs (1)
64
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Vector3DCollectionValueSerializer.cs (1)
64
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Vector3DValueSerializer.cs (1)
64
return base.
ConvertFromString
( value, context );
PresentationFramework (5)
System\Windows\Input\Command\CommandValueSerializer.cs (2)
144
declaringType = typeSerializer.
ConvertFromString
(typeName, context) as Type;
169
return base.
ConvertFromString
(value, context);
System\Windows\Markup\RoutedEventValueSerializer.cs (2)
59
Type type = typeSerializer.
ConvertFromString
(value.Substring(0, index), context) as Type;
65
return base.
ConvertFromString
(value, context);
System\Windows\PropertyPath.cs (1)
871
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));