3 writes to _valueConverter
System.Windows.Forms (3)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (3)
112
_valueConverter
= new Com2ColorConverter();
116
_valueConverter
= new Com2FontConverter();
120
_valueConverter
= new Com2PictureConverter(this);
9 references to _valueConverter
System.Windows.Forms (9)
System\Windows\Forms\ComponentModel\COM2Interop\Com2PropertyDescriptor.Com2PropDescMainConverter.cs (1)
78
if ((_propertyDescriptor.
_valueConverter
is { } converter && converter.AllowExpand)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (8)
140
if (CanShow && (propertyType == typeof(object) || (
_valueConverter
is null && propertyType == typeof(IDispatch.Interface))))
312
[MemberNotNullWhen(true, nameof(
_valueConverter
))]
313
public bool ConvertingNativeType =>
_valueConverter
is not null;
372
=>
_valueConverter
is not null ?
_valueConverter
.ManagedType : _propertyType;
643
return
_valueConverter
.ConvertNativeToManaged(nativeValue, this);
841
if (
_valueConverter
is not null)
844
nativeValue =
_valueConverter
.ConvertManagedToNative(value, this, ref cancel);