Class DateChangedEventArgs
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
It inherits System.EventArgs. The DateChanged event in the Calendar and the DateTimeChanged event in DateTimeSelector contain the DateChangedEventArgs as a parameter.
C#Copypublic class DateChangedEventArgs : EventArgs
- Inheritance
Constructors
View Source
DateChangedEventArgs(DateTime, DateTime)
Creates and initializes a new instance of the DateChangedEventArgs class.
Declaration
C#Copypublic 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. |
API Level: preview
Properties
Declaration
C#Copypublic DateTime NewDate { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
API Level: preview
Declaration
C#Copypublic DateTime OldDate { get; }
Property Value
Type | Description |
---|---|
System.DateTime |