Class DateChangedEventArgs
Definition
- Namespace:
- Elm
Sharp
- 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.
Event Args DateChanged Event Args
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. |
oldDate | Old date when the DateChanged event or DateTimeChanged event triggered. |
System. |
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. |
OldDate
Gets the OldDate property of the given DateChangedEventArgs.
Declaration
public DateTime OldDate { get; }
Property Value
Type | Description |
---|---|
System. |