In This Article

PropertyChangedEventArgs<T> Class

Provides event arguments for a property change event, indicating the old and new values.

public class PropertyChangedEventArgs<T> : EventArgs
Type Parameters:
T -

The return type of the property.

Inheritance:
object EventArgs object
Derived:
EditorDocumentChangedEventArgs EditorDocumentLanguageChangedEventArgs EditorViewChangedEventArgs

Constructors

PropertyChangedEventArgs(T, T)

Initializes a new instance of the PropertyChangedEventArgs class.

public PropertyChangedEventArgs(T oldValue, T newValue)
Parameter Type Description
oldValue T

The previous value of the property being tracked as reported by an event.

newValue T

The new value of the property being tracked as reported by an event.

Properties

NewValue

Gets the new value of the property being tracked as reported by an event.

public T NewValue { get; }

Property Value

T:

The new value of the property being tracked as reported by an event.

OldValue

Gets the previous value of the property being tracked as reported by an event.

public T OldValue { get; }

Property Value

T:

The previous value of the property being tracked as reported by an event.

Inherited Members