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#
Copy
public class DateChangedEventArgs : EventArgs
Inheritance
System.Object
DateChangedEventArgs

Constructors

View Source

DateChangedEventArgs(DateTime, DateTime)

Creates and initializes a new instance of the DateChangedEventArgs class.

Declaration
C#
Copy
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.

API Level: preview

Properties

View Source

NewDate

Gets the NewDate property of the given DateChangedEventArgs.

Declaration
C#
Copy
public DateTime NewDate { get; }
Property Value
Type Description
System.DateTime
API Level: preview
View Source

OldDate

Gets the OldDate property of the given DateChangedEventArgs.

Declaration
C#
Copy
public DateTime OldDate { get; }
Property Value
Type Description
System.DateTime
API Level: preview