This documentation is archived and is not being maintained.
MonthChangedEventArgs Constructor
.NET Framework 1.1
Initializes a new instance of the MonthChangedEventArgs class.
[Visual Basic] Public Sub New( _ ByVal newDate As DateTime, _ ByVal previousDate As DateTime _ ) [C#] public MonthChangedEventArgs( DateTime newDate, DateTime previousDate ); [C++] public: MonthChangedEventArgs( DateTime newDate, DateTime previousDate ); [JScript] public function MonthChangedEventArgs( newDate : DateTime, previousDate : DateTime );
Parameters
- newDate
- The date that determines the month currently displayed by the Calendar.
- previousDate
- The date that determines the month previously displayed by the Calendar.
Remarks
The following table shows initial property values for an instance of MonthChangedEventArgs.
| Property | Initial Value |
|---|---|
| NewDate | newDate |
| PreviousDate | previousDate |
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
MonthChangedEventArgs Class | MonthChangedEventArgs Members | System.Web.UI.WebControls Namespace | Calendar
Show: