29 overrides of CanConvertToString
PresentationCore (23)
System\Windows\Input\Command\KeyGestureValueSerializer.cs (1)
48
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Input\Command\MouseActionValueSerializer.cs (1)
44
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Input\Command\MouseGestureValueSerializer.cs (1)
44
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\BrushValueSerializer.cs (1)
60
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\CacheModeValueSerializer.cs (1)
60
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\DoubleCollectionValueSerializer.cs (1)
60
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\GeometryValueSerializer.cs (1)
60
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\Int32CollectionValueSerializer.cs (1)
60
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\PathFigureCollectionValueSerializer.cs (1)
60
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\PointCollectionValueSerializer.cs (1)
60
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\TransformValueSerializer.cs (1)
60
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\VectorCollectionValueSerializer.cs (1)
60
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\FontFamilyValueSerializer.cs (1)
50
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\ImageSourceValueSerializer.cs (1)
39
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (1)
56
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point3DCollectionValueSerializer.cs (1)
56
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point3DValueSerializer.cs (1)
56
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point4DValueSerializer.cs (1)
56
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (1)
56
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Rect3DValueSerializer.cs (1)
56
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Size3DValueSerializer.cs (1)
56
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Vector3DCollectionValueSerializer.cs (1)
56
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Vector3DValueSerializer.cs (1)
56
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
PresentationFramework (3)
System\Windows\Input\Command\CommandValueSerializer.cs (1)
20
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1522
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System\Windows\Markup\RoutedEventValueSerializer.cs (1)
16
public override bool
CanConvertToString
(object value, IValueSerializerContext context)
System.Xaml (3)
ms\Internal\Markup\StringValueSerializer.cs (1)
17
public override bool
CanConvertToString
(object? value, IValueSerializerContext? context)
ms\Internal\Markup\TypeConverterValueSerializer.cs (1)
25
public override bool
CanConvertToString
(object? value, IValueSerializerContext? context)
System\Windows\Markup\DateTimeValueSerializer.cs (1)
37
public override bool
CanConvertToString
(object? value, IValueSerializerContext? context) => value is DateTime;
9 references to CanConvertToString
PresentationFramework (4)
System\Windows\Markup\Primitives\ElementMarkupObject.cs (4)
71
if (valueSerializer != null && valueSerializer.
CanConvertToString
(_instance, Context))
652
return serializer != null && serializer.
CanConvertToString
(value, Context);
1003
Debug.Assert(serializer != null && serializer.
CanConvertToString
(_object.Instance, _object.Context),
1028
Debug.Assert(serializer != null && serializer.
CanConvertToString
(_object.Instance, _object.Context),
System.Xaml (1)
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
159
return serializer.
CanConvertToString
(instance, context);
System.Xaml.Tests (4)
System\Windows\Markup\StringValueSerializerTests.cs (1)
15
Assert.True(serializer.
CanConvertToString
(null, null));
System\Windows\Markup\ValueSerializerTests.cs (3)
27
Assert.False(serializer.
CanConvertToString
(value, null));
28
Assert.False(serializer.
CanConvertToString
(value, new CustomValueSerializerContext()));
158
Assert.True(serializer.
CanConvertToString
(null!, null));