29 overrides of ConvertToString
PresentationCore (23)
System\Windows\Input\Command\KeyGestureValueSerializer.cs (1)
80
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Input\Command\MouseActionValueSerializer.cs (1)
70
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Input\Command\MouseGestureValueSerializer.cs (1)
82
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\BrushValueSerializer.cs (1)
92
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\CacheModeValueSerializer.cs (1)
92
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\DoubleCollectionValueSerializer.cs (1)
89
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\GeometryValueSerializer.cs (1)
92
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\Int32CollectionValueSerializer.cs (1)
89
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\PathFigureCollectionValueSerializer.cs (1)
92
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\PointCollectionValueSerializer.cs (1)
89
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\TransformValueSerializer.cs (1)
92
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\Converters\Generated\VectorCollectionValueSerializer.cs (1)
89
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\FontFamilyValueSerializer.cs (1)
63
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media\ImageSourceValueSerializer.cs (1)
70
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (1)
85
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point3DCollectionValueSerializer.cs (1)
85
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point3DValueSerializer.cs (1)
85
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Point4DValueSerializer.cs (1)
85
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (1)
85
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Rect3DValueSerializer.cs (1)
85
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Size3DValueSerializer.cs (1)
85
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Vector3DCollectionValueSerializer.cs (1)
85
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Media3D\Converters\Generated\Vector3DValueSerializer.cs (1)
85
public override string
ConvertToString
(object value, IValueSerializerContext context)
PresentationFramework (3)
System\Windows\Input\Command\CommandValueSerializer.cs (1)
62
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1527
public override string
ConvertToString
(object value, IValueSerializerContext context)
System\Windows\Markup\RoutedEventValueSerializer.cs (1)
26
public override string
ConvertToString
(object value, IValueSerializerContext context)
System.Xaml (3)
ms\Internal\Markup\StringValueSerializer.cs (1)
32
public override string?
ConvertToString
(object? value, IValueSerializerContext? context)
ms\Internal\Markup\TypeConverterValueSerializer.cs (1)
30
public override string?
ConvertToString
(object? value, IValueSerializerContext? context)
System\Windows\Markup\DateTimeValueSerializer.cs (1)
67
public override string
ConvertToString
(object? value, IValueSerializerContext? context)
42 references to ConvertToString
PresentationCore (27)
System\Windows\Input\Command\KeyGestureValueSerializer.cs (1)
86
return base.
ConvertToString
(value, context);
System\Windows\Input\Command\MouseActionValueSerializer.cs (1)
76
return base.
ConvertToString
(value, context);
System\Windows\Input\Command\MouseGestureValueSerializer.cs (1)
88
return base.
ConvertToString
(value, context);
System\Windows\Media\Converters\Generated\BrushValueSerializer.cs (2)
102
return base.
ConvertToString
(value, context);
110
return base.
ConvertToString
(value, context);
System\Windows\Media\Converters\Generated\CacheModeValueSerializer.cs (2)
102
return base.
ConvertToString
(value, context);
110
return base.
ConvertToString
(value, context);
System\Windows\Media\Converters\Generated\DoubleCollectionValueSerializer.cs (1)
100
return base.
ConvertToString
(value, context);
System\Windows\Media\Converters\Generated\GeometryValueSerializer.cs (2)
102
return base.
ConvertToString
(value, context);
110
return base.
ConvertToString
(value, context);
System\Windows\Media\Converters\Generated\Int32CollectionValueSerializer.cs (1)
100
return base.
ConvertToString
(value, context);
System\Windows\Media\Converters\Generated\PathFigureCollectionValueSerializer.cs (2)
102
return base.
ConvertToString
(value, context);
110
return base.
ConvertToString
(value, context);
System\Windows\Media\Converters\Generated\PointCollectionValueSerializer.cs (1)
100
return base.
ConvertToString
(value, context);
System\Windows\Media\Converters\Generated\TransformValueSerializer.cs (2)
102
return base.
ConvertToString
(value, context);
110
return base.
ConvertToString
(value, context);
System\Windows\Media\Converters\Generated\VectorCollectionValueSerializer.cs (1)
100
return base.
ConvertToString
(value, context);
System\Windows\Media\ImageSourceValueSerializer.cs (1)
76
return base.
ConvertToString
(value, context);
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (1)
96
return base.
ConvertToString
(value, context);
System\Windows\Media3D\Converters\Generated\Point3DCollectionValueSerializer.cs (1)
96
return base.
ConvertToString
(value, context);
System\Windows\Media3D\Converters\Generated\Point3DValueSerializer.cs (1)
96
return base.
ConvertToString
(value, context);
System\Windows\Media3D\Converters\Generated\Point4DValueSerializer.cs (1)
96
return base.
ConvertToString
(value, context);
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (1)
96
return base.
ConvertToString
(value, context);
System\Windows\Media3D\Converters\Generated\Rect3DValueSerializer.cs (1)
96
return base.
ConvertToString
(value, context);
System\Windows\Media3D\Converters\Generated\Size3DValueSerializer.cs (1)
96
return base.
ConvertToString
(value, context);
System\Windows\Media3D\Converters\Generated\Vector3DCollectionValueSerializer.cs (1)
96
return base.
ConvertToString
(value, context);
System\Windows\Media3D\Converters\Generated\Vector3DValueSerializer.cs (1)
96
return base.
ConvertToString
(value, context);
PresentationFramework (9)
System\Windows\Input\Command\CommandValueSerializer.cs (1)
90
return $"{typeSerializer.
ConvertToString
(command.OwnerType, context)}.{command.Name}Command";
System\Windows\Markup\Primitives\ElementMarkupObject.cs (3)
482
return serializer.
ConvertToString
(value, Context);
944
string typeName = typeSerializer.
ConvertToString
(enumValue.GetType(), context);
1005
return serializer.
ConvertToString
(_object.Instance, _object.Context);
System\Windows\Markup\Primitives\ExtensionSimplifierMarkupObject.cs (1)
326
string typeName = typeSerializer.
ConvertToString
(item.ObjectType, _context);
System\Windows\Markup\RoutedEventValueSerializer.cs (2)
34
return $"{typeSerializer.
ConvertToString
(routedEvent.OwnerType, context)}.{routedEvent.Name}";
37
return base.
ConvertToString
(value, context);
System\Windows\PropertyPathConverter.cs (1)
242
builder.Append(typeSerializer.
ConvertToString
(type, serializerContext));
System\Windows\SystemKeyConverter.cs (1)
151
string systemClassName = typeSerializer.
ConvertToString
(keyType, valueSerializerContext);
System.Xaml (1)
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
207
return serializer.
ConvertToString
(instance, context);
System.Xaml.Tests (5)
System\Windows\Markup\StringValueSerializerTests.cs (2)
30
Assert.Equal(value, serializer.
ConvertToString
(value, null));
37
Assert.Throws<InvalidCastException>(() => serializer.
ConvertToString
(1, null));
System\Windows\Markup\ValueSerializerTests.cs (3)
43
Assert.Throws<NotSupportedException>(() => serializer.
ConvertToString
(value, null));
44
Assert.Throws<NotSupportedException>(() => serializer.
ConvertToString
(value, new CustomValueSerializerContext()));
164
Assert.Equal("1", serializer.
ConvertToString
(1, null));