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