Table of Contents

Class PropertyValueChangedEventArgs

Namespace
NanoByte.Common.EtoControls
Assembly
NanoByte.Common.EtoForms.dll

Event data for PropertyValueChanged.

public class PropertyValueChangedEventArgs : EventArgs
Inheritance
object
PropertyValueChangedEventArgs
Inherited Members
Extension Methods

Constructors

PropertyValueChangedEventArgs(PropertyDescriptor, object?, object?)

Event data for PropertyValueChanged.

public PropertyValueChangedEventArgs(PropertyDescriptor property, object? oldValue, object? newValue)

Parameters

property PropertyDescriptor

The property that was changed.

oldValue object

The property's value before the change.

newValue object

The 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

PropertyDescriptor

Methods

ToPropertyChangedCommand(object)

Creates a PropertyChangedCommand that allows the change to be undone and redone.

public PropertyChangedCommand ToPropertyChangedCommand(object target)

Parameters

target object

The SelectedObject the property belongs to.

Returns

PropertyChangedCommand