10 writes to Value
System.Windows.Forms (3)
System\Windows\Forms\ConvertEventArgs.cs (1)
10Value = value;
System\Windows\Forms\DataBinding\Binding.cs (2)
655cevent.Value = Convert.ChangeType(cevent.Value, cevent.DesiredType, CultureInfo.CurrentCulture); 668cevent.Value = Convert.ChangeType(cevent.Value, cevent.DesiredType, CultureInfo.CurrentCulture);
System.Windows.Forms.Tests (7)
System\Windows\Forms\BindingTests.cs (4)
482eventArgs.Value = oldValue; 493eventArgs.Value = oldValue; 527eventArgs.Value = oldValue; 538eventArgs.Value = oldValue;
System\Windows\Forms\ConvertEventArgsTests.cs (1)
26Value = value
System\Windows\Forms\ListControlTests.cs (2)
2414e.Value = value; 2456e.Value = value;
39 references to Value
System.Windows.Forms (24)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
25348&& dgvcpe.Value is not null 25350&& dataGridViewCurrentCell.ValueType.IsAssignableFrom(dgvcpe.Value.GetType())) 25358return dataGridViewCurrentCell.SetValueInternal(_ptCurrentCell.Y, dgvcpe.Value);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1607object? formattedValue = gdvcfe.Value;
System\Windows\Forms\Controls\ListControl\ListControl.cs (2)
537if (e.Value != item && e.Value is string stringValue)
System\Windows\Forms\DataBinding\Binding.cs (18)
653if (!(cevent.Value is DBNull) && cevent.Value is not null && cevent.DesiredType is not null && !cevent.DesiredType.IsInstanceOfType(cevent.Value) && (cevent.Value is IConvertible)) 655cevent.Value = Convert.ChangeType(cevent.Value, cevent.DesiredType, CultureInfo.CurrentCulture); 666if (!(cevent.Value is DBNull) && cevent.DesiredType is not null && !cevent.DesiredType.IsInstanceOfType(cevent.Value) && (cevent.Value is IConvertible)) 668cevent.Value = Convert.ChangeType(cevent.Value, cevent.DesiredType, CultureInfo.CurrentCulture); 683object? newValue = e.Value; 715if (e.Value is not null && (e.Value.GetType().IsSubclassOf(type) || e.Value.GetType() == type || e.Value is DBNull)) 717return e.Value; 758if (e.Value != value) 761return e.Value; 780object? ret = e.Value;
System.Windows.Forms.Tests (15)
System\Windows\Forms\BindingTests.cs (8)
466object oldValue = eventArgs?.Value; 468Assert.Equal(expectedValue, eventArgs?.Value); 486Assert.Equal(expectedValue, eventArgs?.Value); 497Assert.Equal(expectedValue, eventArgs?.Value); 511object oldValue = eventArgs?.Value; 513Assert.Equal(expectedValue, eventArgs?.Value); 531Assert.Equal(expectedValue, eventArgs?.Value); 542Assert.Equal(expectedValue, eventArgs?.Value);
System\Windows\Forms\ConvertEventArgsTests.cs (2)
15Assert.Equal(value, e.Value); 28Assert.Equal(value, e.Value);
System\Windows\Forms\DataGridViewCellFormattingEventArgsTests.cs (1)
23Assert.Equal(value, e.Value);
System\Windows\Forms\DataGridViewCellParsingEventArgsTests.cs (1)
24Assert.Equal(value, e.Value);
System\Windows\Forms\ListControlConvertEventArgsTests.cs (1)
15Assert.Equal(value, e.Value);
System\Windows\Forms\ListControlTests.cs (2)
2410Assert.Equal(3, e.Value); 2452Assert.Equal(3, e.Value);