Class RoutedPropertyChangedEventArgs<T>
Provides data about a change in value to a dependency property as reported by particular routed events, including the previous and current value of the property that changed.
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows
Assembly: OpenSilver.dll
Syntax
public class RoutedPropertyChangedEventArgs<T> : RoutedEventArgs
Type Parameters
Name | Description |
---|---|
T | The type of the dependency property that has changed. |
Constructors
| Improve this Doc View SourceRoutedPropertyChangedEventArgs(T, T)
Initializes a new instance of the System.Windows.RoutedPropertyChangedEventArgs`1 class, with provided old and new values.
Declaration
public RoutedPropertyChangedEventArgs(T oldValue, T newValue)
Parameters
Type | Name | Description |
---|---|---|
T | oldValue | The previous value of the property, before the event was raised. |
T | newValue | The current value of the property at the time of the event. |
Properties
| Improve this Doc View SourceNewValue
Gets the new value of a property as reported by a property-changed event.
Declaration
public T NewValue { get; }
Property Value
Type | Description |
---|---|
T |
OldValue
Gets the previous value of the property as reported by a property-changed event.
Declaration
public T OldValue { get; }
Property Value
Type | Description |
---|---|
T |