Class ValueChangedEventArgs<TValue>
Generic EventArgs implementation that supports value changed information by holding the old and the new value.
Inherited Members
Namespace: BionicCode.Utilities.Net
Assembly: BionicCode.Utilities.Net.Common.dll
Syntax
public class ValueChangedEventArgs<TValue> : EventArgs
Type Parameters
| Name | Description |
|---|---|
| TValue | The type of the value. |
Constructors
| Improve this Doc View SourceValueChangedEventArgs(TValue, TValue)
Constructor
Declaration
public ValueChangedEventArgs(TValue newValue, TValue oldValue)
Parameters
| Type | Name | Description |
|---|---|---|
| TValue | newValue | The new value that replaces the old value. |
| TValue | oldValue | The old value that was replaced by the new value. |
Properties
| Improve this Doc View SourceNewValue
The new value after the change.
Declaration
public TValue NewValue { get; }
Property Value
| Type | Description |
|---|---|
| TValue |
OldValue
The old value before the change.
Declaration
public TValue OldValue { get; }
Property Value
| Type | Description |
|---|---|
| TValue |