Class DisplayedMonthChangedEventArgs
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
It inherits System.EventArgs. The DisplayedMonthChangedEvent in a calendar contains the DisplayedMonthChangedEventArgs as a parameter.
public class DisplayedMonthChangedEventArgs : EventArgs
- Inheritance
-
objectSystem.EventArgsDisplayedMonthChangedEventArgs
Constructors
View SourceDisplayedMonthChangedEventArgs(int, int)
Creates and initializes a new instance of the DisplayedMonthChangedEventArgs class.
Declaration
public 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
View SourceNewMonth
Gets the NewMonth property of the given DisplayedMonthChangedEventArgs.
Declaration
public int NewMonth { get; }
Property Value
Type | Description |
---|---|
int |
OldMonth
Gets the OldMonth property of the given DisplayedMonthChangedEventArgs.
Declaration
public int OldMonth { get; }
Property Value
Type | Description |
---|---|
int |