MonthChangedEventArgs Constructor (DateTime, DateTime)

 

Initializes a new instance of the MonthChangedEventArgs class.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
MonthChangedEventArgs(
	DateTime newDate,
	DateTime previousDate
)

Parameters

newDate
Type: System::DateTime

The date that determines the month currently displayed by the Calendar.

previousDate
Type: System::DateTime

The date that determines the month previously displayed by the Calendar.

The following table shows initial property values for an instance of MonthChangedEventArgs.

Property

Initial value

NewDate

newDate

PreviousDate

previousDate

.NET Framework
Available since 1.1
Return to top
Show: