44 references to GetConverter
PresentationCore (1)
System\Windows\Duration.cs (1)
511return TypeDescriptor.GetConverter(_timeSpan).ConvertToString(_timeSpan);
PresentationFramework (3)
System\Windows\Markup\Primitives\ElementMarkupObject.cs (3)
356TypeConverter converter = TypeDescriptor.GetConverter(instance); 803TypeConverter converter = TypeDescriptor.GetConverter(value); 901TypeConverter converter = TypeDescriptor.GetConverter(value);
ReachFramework (6)
Serialization\Manager\ReachDocumentPageSerializer.cs (1)
201writer.WriteAttributeString(name, TypeDescriptor.GetConverter(value).ConvertToInvariantString(value));
Serialization\Manager\ReachDocumentPageSerializerAsync.cs (1)
285writer.WriteAttributeString(name, TypeDescriptor.GetConverter(value).ConvertToInvariantString(value));
Serialization\Manager\ReachSerializationUtils.cs (3)
609TypeDescriptor.GetConverter(size.Width).ConvertToInvariantString(size.Width)); 611TypeDescriptor.GetConverter(size.Height).ConvertToInvariantString(size.Height)); 1013writer.WriteAttributeString(name, TypeDescriptor.GetConverter(value).ConvertToInvariantString(value));
Serialization\Manager\XpsOMDocumentPageSerializer.cs (1)
232writer.WriteAttributeString(name, TypeDescriptor.GetConverter(value).ConvertToInvariantString(value));
System.Drawing.Common.Tests (3)
System\Drawing\IconConverterTests.cs (1)
31_icoConvFrmTD = (IconConverter)TypeDescriptor.GetConverter(_icon);
System\Drawing\ImageConverterTests.cs (1)
29_imgConvFrmTD = (ImageConverter)TypeDescriptor.GetConverter(_image);
System\Drawing\ImageFormatConverterTests.cs (1)
23_imgFmtConvFrmTD = (ImageFormatConverter)TypeDescriptor.GetConverter(_imageFmt);
System.Windows.Forms (6)
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
109args[i] = TypeDescriptor.GetConverter(propValue).ConvertToString(context, culture, propValue);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
767=> _typeConverter ??= TypeDescriptor.GetConverter((PropertyValue ?? PropertyType)!);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
138TypeConverter converter = TypeDescriptor.GetConverter(value);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (1)
53? TypeDescriptor.GetConverter(component)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (2)
46TypeConverter converter = TypeDescriptor.GetConverter(this); 472converter = TypeDescriptor.GetConverter(this);
System.Windows.Forms.Design (7)
System\ComponentModel\Design\CollectionEditor.cs (1)
162text = TypeDescriptor.GetConverter(value).ConvertToString(value);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
1882TypeConverter converter = TypeDescriptor.GetConverter(value);
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (1)
35TypeConverter? converter = TypeDescriptor.GetConverter(enumValue);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1249TypeConverter ICustomTypeDescriptor.GetConverter() => TypeDescriptor.GetConverter(DataGridViewColumn);
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.Tests (2)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (2)
326var converter = TypeDescriptor.GetConverter(bitmap); 406var converter = TypeDescriptor.GetConverter(icon);
System.Windows.Forms.Tests (6)
System\Resources\ResxDataNodeTests.cs (2)
30var converter = TypeDescriptor.GetConverter(bitmap); 44var converter = TypeDescriptor.GetConverter(bitmap);
System\Windows\Forms\DataGridViewRowConverterTests.cs (2)
16TypeConverter converter = TypeDescriptor.GetConverter(row); 26TypeConverter converter = TypeDescriptor.GetConverter(row);
System\Windows\Forms\LinkAreaTests.cs (1)
99Assert.IsType<LinkArea.LinkAreaConverter>(TypeDescriptor.GetConverter(area));
System\Windows\Forms\PaddingTests.cs (1)
423Assert.IsType<PaddingConverter>(TypeDescriptor.GetConverter(padding));
System.Xaml.Tests (10)
System\Windows\Markup\StaticExtensionTests.cs (5)
207TypeConverter converter = TypeDescriptor.GetConverter(extension); 215TypeConverter converter = TypeDescriptor.GetConverter(extension); 225TypeConverter converter = TypeDescriptor.GetConverter(extension); 234TypeConverter converter = TypeDescriptor.GetConverter(extension); 242TypeConverter converter = TypeDescriptor.GetConverter(extension);
System\Windows\Markup\TypeExtensionTests.cs (5)
168TypeConverter converter = TypeDescriptor.GetConverter(extension); 176TypeConverter converter = TypeDescriptor.GetConverter(extension); 186TypeConverter converter = TypeDescriptor.GetConverter(extension); 195TypeConverter converter = TypeDescriptor.GetConverter(extension); 203TypeConverter converter = TypeDescriptor.GetConverter(extension);