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