6 references to DesiredType
System.Windows.Forms (6)
winforms\Managed\System\WinForms\Binding.cs (6)
683
if (!(cevent.Value is System.DBNull) && cevent.Value != null && cevent.
DesiredType
!= null && !cevent.
DesiredType
.IsInstanceOfType(cevent.Value) && (cevent.Value is IConvertible)) {
684
cevent.Value = Convert.ChangeType(cevent.Value, cevent.
DesiredType
, CultureInfo.CurrentCulture);
698
if (!(cevent.Value is System.DBNull) && cevent.
DesiredType
!= null && !cevent.
DesiredType
.IsInstanceOfType(cevent.Value) && (cevent.Value is IConvertible)) {
699
cevent.Value = Convert.ChangeType(cevent.Value, cevent.
DesiredType
, CultureInfo.CurrentCulture);