20 references to ConvertToString
PresentationCore (2)
System\Windows\Duration.cs (1)
515
return TypeDescriptor.GetConverter(_timeSpan).
ConvertToString
(_timeSpan);
System\Windows\Media\Animation\KeyTime.cs (1)
213
return converter.
ConvertToString
(this);
PresentationFramework (1)
System\Windows\PropertyPathConverter.cs (1)
278
name = converter.
ConvertToString
(pathPart);
System.ComponentModel.TypeConverter (3)
System\ComponentModel\InheritanceAttribute.cs (1)
109
public override string ToString() => TypeDescriptor.GetConverterTrimUnsafe(typeof(InheritanceLevel)).
ConvertToString
(InheritanceLevel)!;
System\ComponentModel\ReferenceConverter.cs (2)
202
string? itemName1 = _converter.
ConvertToString
(item1);
203
string? itemName2 = _converter.
ConvertToString
(item2);
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
220
string? textValue = pd.Converter.
ConvertToString
(propInst);
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
206
return converter.
ConvertToString
(formattedValue);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
788
handler = TypeConverter.
ConvertToString
(value);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
1721
itemTextValue = gridEntry.TypeConverter.
ConvertToString
(currentValue);
System\Windows\Forms\Input\KeysConverter.cs (2)
145
return string.Compare(
ConvertToString
(a),
ConvertToString
(b), false, CultureInfo.InvariantCulture);
System.Windows.Forms.Design (8)
System\ComponentModel\Design\CollectionEditor.cs (1)
162
text = TypeDescriptor.GetConverter(value).
ConvertToString
(value);
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (1)
63
string? termString = enumConverter?.
ConvertToString
(term);
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
64
string? text = _cursorConverter.
ConvertToString
(cursor);
System\Windows\Forms\Design\ImageCollectionEditor.cs (1)
53
text = TypeDescriptor.GetConverter(value).
ConvertToString
(value);
System\Windows\Forms\Design\ListViewItemCollectionEditor.cs (1)
43
text = TypeDescriptor.GetConverter(value).
ConvertToString
(value);
System\Windows\Forms\Design\ListViewSubItemCollectionEditor.cs (1)
62
text = TypeDescriptor.GetConverter(value).
ConvertToString
(value);
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (2)
204
_keyComboBox.Items.Add(KeysConverter.
ConvertToString
(keyCode)!);
338
_keyComboBox.SelectedItem = KeysConverter.
ConvertToString
(keyCode);