Class DisplayedMonthChangedEventArgs
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
It inherits System.EventArgs. The DisplayedMonthChangedEvent in a calendar contains the DisplayedMonthChangedEventArgs as a parameter.
C#Copypublic class DisplayedMonthChangedEventArgs : EventArgs
- Inheritance
-
objectSystem.EventArgsDisplayedMonthChangedEventArgs
Constructors
View Source
DisplayedMonthChangedEventArgs(int, int)
Creates and initializes a new instance of the DisplayedMonthChangedEventArgs class.
Declaration
C#Copypublic DisplayedMonthChangedEventArgs(int oldMonth, int newMonth)
Parameters
| Type | Name | Description |
|---|---|---|
| int | oldMonth | Old month of the date when the DisplayedMonthChangedEvent triggered. |
| int | newMonth | New month of the date when the DisplayedMonthChangedEvent triggered. |
Properties
Declaration
C#Copypublic int NewMonth { get; }
Property Value
| Type | Description |
|---|---|
| int |
Declaration
C#Copypublic int OldMonth { get; }
Property Value
| Type | Description |
|---|---|
| int |