Class RoutedPropertyChangedEventArgs<T>
Implements arguments for routed property changes
Inherited Members
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: EmptyKeys.UserInterface
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class RoutedPropertyChangedEventArgs<T> : RoutedEventArgs
Type Parameters
Name | Description |
---|---|
T | Type of the value |
Constructors
RoutedPropertyChangedEventArgs(T, T)
Initializes a new instance of the RoutedPropertyChangedEventArgs<T> class.
Declaration
public RoutedPropertyChangedEventArgs(T oldValue, T newValue)
Parameters
Type | Name | Description |
---|---|---|
T | oldValue | The old value. |
T | newValue | The new value. |
RoutedPropertyChangedEventArgs(T, T, RoutedEvent)
Initializes a new instance of the RoutedPropertyChangedEventArgs<T> class.
Declaration
public RoutedPropertyChangedEventArgs(T oldValue, T newValue, RoutedEvent routedEvent)
Parameters
Type | Name | Description |
---|---|---|
T | oldValue | The old value. |
T | newValue | The new value. |
RoutedEvent | routedEvent | The routed event. |
Properties
NewValue
Gets the new value.
Declaration
public T NewValue { get; }
Property Value
Type | Description |
---|---|
T | The new value. |
OldValue
Gets the old value.
Declaration
public T OldValue { get; }
Property Value
Type | Description |
---|---|
T | The old value. |
Methods
InvokeEventHandler(Delegate, Object)
Invokes the event handler.
Declaration
protected override void InvokeEventHandler(Delegate handler, object target)
Parameters
Type | Name | Description |
---|---|---|
System.Delegate | handler | The handler. |
System.Object | target | The target. |