42 references to ConvertToString
PresentationFramework (2)
src\Framework\System\Windows\Markup\BamlReader.cs (1)
1095
info.Value = converter.
ConvertToString
(null,
src\Framework\System\Windows\Markup\ParserContext.cs (1)
114
_xmlSpace = (string) typeConverter.
ConvertToString
(null, TypeConverterHelper.InvariantEnglishUS, xmlParserContext.XmlSpace);
System (2)
compmod\system\componentmodel\TypeConverter.cs (2)
192
return
ConvertToString
(null, CultureInfo.InvariantCulture, value);
200
return
ConvertToString
(context, CultureInfo.InvariantCulture, value);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToStandardValuesConverter.cs (1)
106
convertedStandardValues.Add(converter.
ConvertToString
(null, _culture, standardValue));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
294
stringValue = typeConverter.
ConvertToString
(null, XamlCultureInfo, valueToConvert);
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToStandardValuesConverter.cs (1)
106
convertedStandardValues.Add(converter.
ConvertToString
(null, _culture, standardValue));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
294
stringValue = typeConverter.
ConvertToString
(null, XamlCultureInfo, valueToConvert);
System.Drawing (19)
commonui\System\Drawing\Advanced\SizeFConverter.cs (2)
125
args[nArg++] = floatConverter.
ConvertToString
(context, culture, size.Width);
126
args[nArg++] = floatConverter.
ConvertToString
(context, culture, size.Height);
commonui\System\Drawing\ColorConverter.cs (4)
271
args[nArg++] = intConverter.
ConvertToString
(context, culture, (object)c.A);
278
args[nArg++] = intConverter.
ConvertToString
(context, culture, (object)c.R);
279
args[nArg++] = intConverter.
ConvertToString
(context, culture, (object)c.G);
280
args[nArg++] = intConverter.
ConvertToString
(context, culture, (object)c.B);
commonui\System\Drawing\FontConverter.cs (1)
238
args[nArg++] = TypeDescriptor.GetConverter(font.Size).
ConvertToString
(context, culture, font.Size) + GetGraphicsUnitText(font.Unit);
commonui\System\Drawing\PointConverter.cs (2)
127
args[nArg++] = intConverter.
ConvertToString
(context, culture, pt.X);
128
args[nArg++] = intConverter.
ConvertToString
(context, culture, pt.Y);
commonui\System\Drawing\Printing\MarginsConverter.cs (4)
125
args[nArg++] = intConverter.
ConvertToString
(context, culture, margins.Left);
126
args[nArg++] = intConverter.
ConvertToString
(context, culture, margins.Right);
127
args[nArg++] = intConverter.
ConvertToString
(context, culture, margins.Top);
128
args[nArg++] = intConverter.
ConvertToString
(context, culture, margins.Bottom);
commonui\System\Drawing\RectangleConverter.cs (4)
128
args[nArg++] = intConverter.
ConvertToString
(context, culture, rect.X);
129
args[nArg++] = intConverter.
ConvertToString
(context, culture, rect.Y);
130
args[nArg++] = intConverter.
ConvertToString
(context, culture, rect.Width);
131
args[nArg++] = intConverter.
ConvertToString
(context, culture, rect.Height);
commonui\System\Drawing\SizeConverter.cs (2)
127
args[nArg++] = intConverter.
ConvertToString
(context, culture, size.Width);
128
args[nArg++] = intConverter.
ConvertToString
(context, culture, size.Height);
System.Web.DataVisualization (3)
Common\Converters\CustomAttributesConverters.cs (1)
696
return colorConverter.
ConvertToString
(null, System.Globalization.CultureInfo.InvariantCulture, value);
Common\Utilities\XmlSerializer.cs (2)
1772
return colorConverter.
ConvertToString
(null, System.Globalization.CultureInfo.InvariantCulture, obj);
1802
return converter.
ConvertToString
(null, System.Globalization.CultureInfo.InvariantCulture, obj);
System.Windows.Forms (9)
winforms\Managed\System\WinForms\LinkArea.cs (2)
195
args[nArg++] = intConverter.
ConvertToString
(context, culture, pt.Start);
196
args[nArg++] = intConverter.
ConvertToString
(context, culture, pt.Length);
winforms\Managed\System\WinForms\LinkConverter.cs (2)
121
args[nArg++] = intConverter.
ConvertToString
(context, culture, link.Start);
122
args[nArg++] = intConverter.
ConvertToString
(context, culture, link.Length);
winforms\Managed\System\WinForms\Padding.cs (4)
360
args[nArg++] = intConverter.
ConvertToString
(context, culture, padding.Left);
361
args[nArg++] = intConverter.
ConvertToString
(context, culture, padding.Top);
362
args[nArg++] = intConverter.
ConvertToString
(context, culture, padding.Right);
363
args[nArg++] = intConverter.
ConvertToString
(context, culture, padding.Bottom);
winforms\Managed\System\WinForms\SelectionRangeConverter.cs (1)
120
args[i] = TypeDescriptor.GetConverter(propValue).
ConvertToString
(context, culture, propValue);
System.Windows.Forms.DataVisualization (3)
Common\Converters\CustomAttributesConverters.cs (1)
696
return colorConverter.
ConvertToString
(null, System.Globalization.CultureInfo.InvariantCulture, value);
Common\Utilities\XmlSerializer.cs (2)
1772
return colorConverter.
ConvertToString
(null, System.Globalization.CultureInfo.InvariantCulture, obj);
1802
return converter.
ConvertToString
(null, System.Globalization.CultureInfo.InvariantCulture, obj);