Class PropertyValueChangedEventArgs
- Namespace
- NanoByte.Common.EtoControls
- Assembly
- NanoByte.Common.EtoForms.dll
Event data for PropertyValueChanged.
public class PropertyValueChangedEventArgs : EventArgs
- Inheritance
-
objectPropertyValueChangedEventArgs
- Inherited Members
- Extension Methods
Constructors
PropertyValueChangedEventArgs(PropertyDescriptor, object?, object?)
Event data for PropertyValueChanged.
public PropertyValueChangedEventArgs(PropertyDescriptor property, object? oldValue, object? newValue)
Parameters
propertyPropertyDescriptorThe property that was changed.
oldValueobjectThe property's value before the change.
newValueobjectThe property's value after the change.
Properties
NewValue
The property's value after the change.
public object? NewValue { get; }
Property Value
- object
OldValue
The property's value before the change.
public object? OldValue { get; }
Property Value
- object
Property
The property that was changed.
public PropertyDescriptor Property { get; }
Property Value
Methods
ToPropertyChangedCommand(object)
Creates a PropertyChangedCommand that allows the change to be undone and redone.
public PropertyChangedCommand ToPropertyChangedCommand(object target)
Parameters
targetobjectThe SelectedObject the property belongs to.