30 references to ConvertToString
Microsoft.AspNetCore.Components (1)
BindConverter.cs (1)
1850return typeConverter.ConvertToString(context: null, culture ?? CultureInfo.CurrentCulture, value);
PresentationFramework (2)
System\Windows\Markup\BamlReader.cs (1)
1083info.Value = converter.ConvertToString(null,
System\Windows\Markup\ParserContext.cs (1)
104_xmlSpace = (string) typeConverter.ConvertToString(null, TypeConverterHelper.InvariantEnglishUS, xmlParserContext.XmlSpace);
System.ComponentModel.TypeConverter (16)
System\ComponentModel\TypeConverter.cs (2)
141return ConvertToString(null, CultureInfo.InvariantCulture, value); 149return ConvertToString(context, CultureInfo.InvariantCulture, value);
System\Drawing\ColorConverter.cs (4)
82args[nArg++] = intConverter.ConvertToString(context, culture, (object)c.A); 90args[nArg++] = intConverter.ConvertToString(context, culture, (object)c.R); 91args[nArg++] = intConverter.ConvertToString(context, culture, (object)c.G); 92args[nArg++] = intConverter.ConvertToString(context, culture, (object)c.B);
System\Drawing\PointConverter.cs (2)
77intConverter.ConvertToString(context, culture, pt.X), 78intConverter.ConvertToString(context, culture, pt.Y)
System\Drawing\RectangleConverter.cs (4)
75intConverter.ConvertToString(context, culture, rect.X), 76intConverter.ConvertToString(context, culture, rect.Y), 77intConverter.ConvertToString(context, culture, rect.Width), 78intConverter.ConvertToString(context, culture, rect.Height)
System\Drawing\SizeConverter.cs (2)
75intConverter.ConvertToString(context, culture, size.Width), 76intConverter.ConvertToString(context, culture, size.Height)
System\Drawing\SizeFConverter.cs (2)
72floatConverter.ConvertToString(context, culture, size.Width), 73floatConverter.ConvertToString(context, culture, size.Height)
System.Windows.Forms (7)
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (2)
98intConverter.ConvertToString(context, culture, pt.Start), 99intConverter.ConvertToString(context, culture, pt.Length)
System\Windows\Forms\Controls\Labels\LinkConverter.cs (2)
94intConverter.ConvertToString(context, culture, link.Start), 95intConverter.ConvertToString(context, culture, link.Length)
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
109args[i] = TypeDescriptor.GetConverter(propValue).ConvertToString(context, culture, propValue);
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (2)
1106return TypeDescriptor.GetConverter(typeof(Keys)).ConvertToString(context: null, CultureInfo.CurrentUICulture, shortcutKeys); 1111return TypeDescriptor.GetConverterFromRegisteredType(typeof(Keys)).ConvertToString(context: null, CultureInfo.CurrentUICulture, shortcutKeys);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
66string newItem = PropertyDescriptor.Converter.ConvertToString(TypeDescriptorContext, CultureInfo.CurrentCulture, standardValue)!;
System.Windows.Forms.Tests (2)
System\Windows\Forms\KeysConverterTests.cs (2)
68string result = converter.ConvertToString(null, CultureInfo.InvariantCulture, keys); 80string result = converter.ConvertToString(null, culture, key);
System.Xaml (1)
ms\Internal\Markup\TypeConverterValueSerializer.cs (1)
32return converter.ConvertToString(context, TypeConverterHelper.InvariantEnglishUS, value);