Class DateChangedEventArgs
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
It inherits System.EventArgs. The DateChanged event in the Calendar and the DateTimeChanged event in DateTimeSelector contain the DateChangedEventArgs as a parameter.
public class DateChangedEventArgs : EventArgs
- Inheritance
-
objectSystem.EventArgsDateChangedEventArgs
Constructors
View SourceDateChangedEventArgs(DateTime, DateTime)
Creates and initializes a new instance of the DateChangedEventArgs class.
Declaration
public DateChangedEventArgs(DateTime oldDate, DateTime newDate)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | oldDate | Old date when the DateChanged event or DateTimeChanged event triggered. |
System.DateTime | newDate | New date when the DateChanged event or DateTimeChanged event triggered. |
Properties
View SourceNewDate
Gets the NewDate property of the given DateChangedEventArgs.
Declaration
public DateTime NewDate { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
OldDate
Gets the OldDate property of the given DateChangedEventArgs.
Declaration
public DateTime OldDate { get; }
Property Value
Type | Description |
---|---|
System.DateTime |