1 write to DesiredType
System.Windows.Forms (1)
System\Windows\Forms\ConvertEventArgs.cs (1)
11DesiredType = desiredType;
6 references to DesiredType
System.Windows.Forms (6)
System\Windows\Forms\DataBinding\Binding.cs (6)
650if (!(cevent.Value is DBNull) && cevent.Value is not null && cevent.DesiredType is not null && !cevent.DesiredType.IsInstanceOfType(cevent.Value) && (cevent.Value is IConvertible)) 652cevent.Value = Convert.ChangeType(cevent.Value, cevent.DesiredType, CultureInfo.CurrentCulture); 663if (!(cevent.Value is DBNull) && cevent.DesiredType is not null && !cevent.DesiredType.IsInstanceOfType(cevent.Value) && (cevent.Value is IConvertible)) 665cevent.Value = Convert.ChangeType(cevent.Value, cevent.DesiredType, CultureInfo.CurrentCulture);