In This Article

PropertyChangedRoutedEventArgs<T> Class

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

public class PropertyChangedRoutedEventArgs<T> : RoutedEventArgs
Type Parameters:
T -

The return type of the property.

Inheritance:
System.Object System.EventArgs System.Windows.RoutedEventArgs Object
Derived:
BooleanPropertyChangedRoutedEventArgs LedStatePropertyChangedRoutedEventArgs BreadcrumbItemPropertyChangedRoutedEventArgs OperationStatePropertyChangedRoutedEventArgs TabPropertyChangedRoutedEventArgs EditorDocumentChangedEventArgs EditorDocumentLanguageChangedEventArgs EditorViewChangedEventArgs DateTimePropertyChangedRoutedEventArgs DoublePropertyChangedRoutedEventArgs IEnumerablePropertyChangedRoutedEventArgs NullableDateTimePropertyChangedRoutedEventArgs ObjectPropertyChangedRoutedEventArgs SecureStringPropertyChangedRoutedEventArgs StringPropertyChangedRoutedEventArgs

Constructors

PropertyChangedRoutedEventArgs(T, T)

Initializes a new instance of the PropertyChangedRoutedEventArgs class.

public PropertyChangedRoutedEventArgs(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.

PropertyChangedRoutedEventArgs(RoutedEvent, T, T)

Initializes a new instance of the PropertyChangedRoutedEventArgs class.

public PropertyChangedRoutedEventArgs(RoutedEvent routedEvent, T oldValue, T newValue)
Parameter Type Description
routedEvent System.Windows.RoutedEvent

The routed event identifier for this event arguments instance.

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.

PropertyChangedRoutedEventArgs(RoutedEvent, T, T, Object)

Initializes a new instance of the PropertyChangedRoutedEventArgs class.

public PropertyChangedRoutedEventArgs(RoutedEvent routedEvent, T oldValue, T newValue, object source)
Parameter Type Description
routedEvent System.Windows.RoutedEvent

The routed event identifier for this event arguments instance.

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.

source System.Object

An alternate source that will be reported when the event is handled.

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

  • System.EventArgs.Empty
  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()