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.
public class DisplayedMonthChangedEventArgs : EventArgs
- Inheritance
Constructors
View SourceDisplayedMonthChangedEventArgs(Int32, Int32)
Creates and initializes a new instance of the DisplayedMonthChangedEventArgs class.
Declaration
public DisplayedMonthChangedEventArgs(int oldMonth, int newMonth)
Parameters
Type | Name | Description |
---|---|---|
Int32 | oldMonth | Old month of the date when the DisplayedMonthChangedEvent triggered. |
Int32 | newMonth | New month of the date when the DisplayedMonthChangedEvent triggered. |
API Level: preview
Properties
View SourceNewMonth
Gets the NewMonth property of the given DisplayedMonthChangedEventArgs.
Declaration
public int NewMonth { get; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
View SourceOldMonth
Gets the OldMonth property of the given DisplayedMonthChangedEventArgs.
Declaration
public int OldMonth { get; }
Property Value
Type | Description |
---|---|
Int32 |