2 writes to Value
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Binding.cs (2)
684
cevent.
Value
= Convert.ChangeType(cevent.Value, cevent.DesiredType, CultureInfo.CurrentCulture);
699
cevent.
Value
= Convert.ChangeType(cevent.Value, cevent.DesiredType, CultureInfo.CurrentCulture);
25 references to Value
System.Windows.Forms (25)
winforms\Managed\System\WinForms\Binding.cs (18)
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);
719
object newValue = e.
Value
;
743
if (e.
Value
!= null && (e.
Value
.GetType().IsSubclassOf(type) || e.
Value
.GetType() == type || e.
Value
is System.DBNull))
744
return e.
Value
;
782
if (e.
Value
!= value) {
784
return e.
Value
;
803
object ret = e.
Value
;
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
1901
Object formattedValue = gdvcfe.
Value
;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
25522
dgvcpe.
Value
!= null &&
25524
dataGridViewCurrentCell.ValueType.IsAssignableFrom(dgvcpe.
Value
.GetType()))
25530
return dataGridViewCurrentCell.SetValueInternal(this.ptCurrentCell.Y, dgvcpe.
Value
);
winforms\Managed\System\WinForms\ListControl.cs (3)
581
if (e.
Value
!= item && e.
Value
is String) {
582
return (string) e.
Value
;