28 overrides of ConvertFromString
PresentationCore (23)
System\Windows\Input\Command\KeyGestureValueSerializer.cs (1)
65
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Input\Command\MouseActionValueSerializer.cs (1)
55
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Input\Command\MouseGestureValueSerializer.cs (1)
67
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\BrushValueSerializer.cs (1)
77
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\CacheModeValueSerializer.cs (1)
77
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\DoubleCollectionValueSerializer.cs (1)
74
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\GeometryValueSerializer.cs (1)
77
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\Int32CollectionValueSerializer.cs (1)
74
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\PathFigureCollectionValueSerializer.cs (1)
77
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\PointCollectionValueSerializer.cs (1)
74
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\TransformValueSerializer.cs (1)
77
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\VectorCollectionValueSerializer.cs (1)
74
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\FontFamilyValueSerializer.cs (1)
38
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media\ImageSourceValueSerializer.cs (1)
50
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (1)
70
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point3DCollectionValueSerializer.cs (1)
70
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point3DValueSerializer.cs (1)
70
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point4DValueSerializer.cs (1)
70
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (1)
70
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Rect3DValueSerializer.cs (1)
70
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Size3DValueSerializer.cs (1)
70
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Vector3DCollectionValueSerializer.cs (1)
70
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Vector3DValueSerializer.cs (1)
70
public override object
ConvertFromString
(string value, IValueSerializerContext context)
PresentationFramework (2)
System\Windows\Input\Command\CommandValueSerializer.cs (1)
116
public override object
ConvertFromString
(string value, IValueSerializerContext context)
System\Windows\Markup\RoutedEventValueSerializer.cs (1)
54
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)
42
public override object
ConvertFromString
(string value, IValueSerializerContext? context)
33 references to ConvertFromString
PresentationCore (22)
System\Windows\Input\Command\KeyGestureValueSerializer.cs (1)
71
return base.
ConvertFromString
(value, context);
System\Windows\Input\Command\MouseActionValueSerializer.cs (1)
61
return base.
ConvertFromString
(value, context);
System\Windows\Input\Command\MouseGestureValueSerializer.cs (1)
73
return base.
ConvertFromString
(value, context);
System\Windows\Media\Converters\Generated\BrushValueSerializer.cs (1)
85
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\CacheModeValueSerializer.cs (1)
85
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\DoubleCollectionValueSerializer.cs (1)
82
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\GeometryValueSerializer.cs (1)
85
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\Int32CollectionValueSerializer.cs (1)
82
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\PathFigureCollectionValueSerializer.cs (1)
85
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\PointCollectionValueSerializer.cs (1)
82
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\TransformValueSerializer.cs (1)
85
return base.
ConvertFromString
( value, context );
System\Windows\Media\Converters\Generated\VectorCollectionValueSerializer.cs (1)
82
return base.
ConvertFromString
( value, context );
System\Windows\Media\ImageSourceValueSerializer.cs (1)
64
return base.
ConvertFromString
(value, context);
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (1)
78
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Point3DCollectionValueSerializer.cs (1)
78
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Point3DValueSerializer.cs (1)
78
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Point4DValueSerializer.cs (1)
78
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (1)
78
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Rect3DValueSerializer.cs (1)
78
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Size3DValueSerializer.cs (1)
78
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Vector3DCollectionValueSerializer.cs (1)
78
return base.
ConvertFromString
( value, context );
System\Windows\Media3D\Converters\Generated\Vector3DValueSerializer.cs (1)
78
return base.
ConvertFromString
( value, context );
PresentationFramework (5)
System\Windows\Input\Command\CommandValueSerializer.cs (2)
149
declaringType = typeSerializer.
ConvertFromString
(typeName, context) as Type;
174
return base.
ConvertFromString
(value, context);
System\Windows\Markup\RoutedEventValueSerializer.cs (2)
62
Type type = typeSerializer.
ConvertFromString
(value.Substring(0, index), context) as Type;
68
return base.
ConvertFromString
(value, context);
System\Windows\PropertyPath.cs (1)
886
return typeSerializer.
ConvertFromString
(name, serializerContext) as Type;
System.Xaml.Tests (6)
System\Windows\Markup\StringValueSerializerTests.cs (1)
47
Assert.Equal(value, serializer.
ConvertFromString
(value, null));
System\Windows\Markup\ValueSerializerTests.cs (5)
68
Assert.Throws<NotSupportedException>(() => serializer.
ConvertFromString
(null!, null));
69
Assert.Throws<NotSupportedException>(() => serializer.
ConvertFromString
(null!, new CustomValueSerializerContext()));
78
Assert.Throws<NotSupportedException>(() => serializer.
ConvertFromString
(value, null));
79
Assert.Throws<NotSupportedException>(() => serializer.
ConvertFromString
(value, new CustomValueSerializerContext()));
179
Assert.Equal("1", serializer.
ConvertFromString
("1", null));