Class DisplayedMonthChangedEventArgs

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll
API Level:
preview

It inherits System.EventArgs. The DisplayedMonthChangedEvent in a calendar contains the DisplayedMonthChangedEventArgs as a parameter.

C#
Copy
public class DisplayedMonthChangedEventArgs : EventArgs
Inheritance
DisplayedMonthChangedEventArgs

Constructors

View Source

DisplayedMonthChangedEventArgs(Int32, Int32)

Creates and initializes a new instance of the DisplayedMonthChangedEventArgs class.

Declaration
C#
Copy
public DisplayedMonthChangedEventArgs(int oldMonth, int newMonth)
Parameters
Type Name Description
System.Int32 oldMonth

Old month of the date when the DisplayedMonthChangedEvent triggered.

System.Int32 newMonth

New month of the date when the DisplayedMonthChangedEvent triggered.

API Level: preview

Properties

View Source

NewMonth

Gets the NewMonth property of the given DisplayedMonthChangedEventArgs.

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

OldMonth

Gets the OldMonth property of the given DisplayedMonthChangedEventArgs.

Declaration
C#
Copy
public int OldMonth { get; }
Property Value
Type Description
System.Int32
API Level: preview