4 overrides of Converter
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (1)
75
public override TypeConverter
Converter
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
283
public override TypeConverter
Converter
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
30
public override TypeConverter
Converter
System.Windows.Forms.Design (1)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
51
public override TypeConverter
Converter
43 references to Converter
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
220
string? textValue = pd.
Converter
.ConvertToString(propInst);
System.Windows.Forms (19)
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (1)
85
return _converter ?? base.
Converter
;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (3)
976
TypeConverter converter = property.
Converter
;
1165
TypeConverter converter = currentProperty.
Converter
;
1549
TypeConverter converter = currentProperty.
Converter
;
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
513
: base.
Converter
;
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (2)
275
return _props[boundColumnIndex].
Converter
;
958
dataGridViewColumn.BoundColumnConverter = _props[i].
Converter
;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (4)
908
valueTypeConverter = ValueMemberProperty.
Converter
;
912
valueTypeConverter = DisplayMemberProperty.
Converter
;
2386
valueTypeConverter = ValueMemberProperty.
Converter
;
2390
valueTypeConverter = DisplayMemberProperty.
Converter
;
System\Windows\Forms\Controls\ListControl\ListControl.cs (1)
154
_displayMemberConverter = displayMemberProperty.
Converter
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
33
get => _descriptors[0].
Converter
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (1)
54
: context.PropertyDescriptor.
Converter
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
277
_typeConverter ??= PropertyDescriptor.
Converter
;
System\Windows\Forms\DataBinding\Binding.cs (3)
537
_propInfoConverter = _propInfo.
Converter
;
695
fieldInfoConverter = _bindToObject.FieldInfo.
Converter
;
769
fieldInfoConverter = _bindToObject.FieldInfo.
Converter
;
System\Windows\Forms\Design\EventsTab.cs (1)
142
if (!property.
Converter
.GetPropertiesSupported())
System.Windows.Forms.Design (10)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
676
bool standardValuesSupported = pd.
Converter
.GetStandardValuesSupported(context);
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (4)
66
string newItem = PropertyDescriptor.
Converter
.ConvertToString(TypeDescriptorContext, CultureInfo.CurrentCulture, standardValue)!;
160
bool converterReadOnly = !PropertyDescriptor.
Converter
.CanConvertFrom(TypeDescriptorContext, typeof(string));
164
PropertyDescriptor.
Converter
.GetStandardValuesSupported(TypeDescriptorContext) &&
165
PropertyDescriptor.
Converter
.GetStandardValuesExclusive(TypeDescriptorContext);
System\ComponentModel\Design\DesignerActionPanel.PropertyLine.cs (3)
54
if (PropertyDescriptor.
Converter
is not null)
57
if (!PropertyDescriptor.
Converter
.CanConvertFrom(_typeDescriptorContext, valueType))
64
newValue = PropertyDescriptor.
Converter
.ConvertFrom(_typeDescriptorContext, CultureInfo.CurrentCulture, newValue);
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (2)
177
TypeConverter converter = PropertyDescriptor.
Converter
;
286
protected override void OnValueChanged() => EditControl!.Text = PropertyDescriptor.
Converter
.ConvertToString(TypeDescriptorContext, Value);
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (1)
210
Assert.IsType<Int64Converter>(property.
Converter
);
System.Windows.Forms.Tests (11)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (6)
137
Assert.IsType<StringConverter>(property.
Converter
);
148
Assert.IsType<StringConverter>(property.
Converter
);
168
Assert.IsType<StringConverter>(property.
Converter
);
175
Assert.IsType<StringConverter>(property.
Converter
);
189
Assert.IsType<CustomTypeConverter>(property.
Converter
);
200
Assert.IsType<CustomTypeConverter>(property.
Converter
);
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (2)
63
var converter = (Com2ExtendedTypeConverter)handleProperty.
Converter
;
150
var converter = (Com2ExtendedTypeConverter)urlProperty.
Converter
;
System\Windows\Forms\SpecialFolderEnumConverterTests.cs (3)
16
TypeConverter converter = descriptor.
Converter
;
90
TypeConverter converter = (TypeConverter)Activator.CreateInstance(descriptor.
Converter
.GetType(), new Type[] { typeof(CustomEnum) });
97
return (TypeConverter)Activator.CreateInstance(descriptor.
Converter
.GetType(), new Type[] { typeof(Environment.SpecialFolder) });
System.Xaml (1)
System\Windows\Markup\ValueSerializer.cs (1)
177
TypeConverter converter = descriptor.
Converter
;