DateTimePropertyChangedRoutedEventArgs Class
Provides event arguments for a DateTime property change routed event, indicating the old and new values.
public class DateTimePropertyChangedRoutedEventArgs : PropertyChangedRoutedEventArgs<DateTime>
- Inheritance:
- object EventArgs RoutedEventArgs PropertyChangedRoutedEventArgs<DateTime> object
Constructors
DateTimePropertyChangedRoutedEventArgs(DateTime, DateTime)
Initializes a new instance of the DateTimePropertyChangedRoutedEventArgs
class.
public DateTimePropertyChangedRoutedEventArgs(DateTime oldValue, DateTime newValue)
Parameter | Type | Description |
---|---|---|
oldValue | DateTime | The previous value of the property being tracked as reported by an event. |
newValue | DateTime | The new value of the property being tracked as reported by an event. |
DateTimePropertyChangedRoutedEventArgs(RoutedEvent, DateTime, DateTime)
Initializes a new instance of the DateTimePropertyChangedRoutedEventArgs
class.
public DateTimePropertyChangedRoutedEventArgs(RoutedEvent routedEvent, DateTime oldValue, DateTime newValue)
Parameter | Type | Description |
---|---|---|
routedEvent | RoutedEvent | The routed event identifier for this event arguments instance. |
oldValue | DateTime | The previous value of the property being tracked as reported by an event. |
newValue | DateTime | The new value of the property being tracked as reported by an event. |