Edit

Share via


MonthChangedEventArgs(DateTime, DateTime) Constructor

Definition

Initializes a new instance of the MonthChangedEventArgs class.

public:
 MonthChangedEventArgs(DateTime newDate, DateTime previousDate);
public MonthChangedEventArgs (DateTime newDate, DateTime previousDate);
new System.Web.UI.WebControls.MonthChangedEventArgs : DateTime * DateTime -> System.Web.UI.WebControls.MonthChangedEventArgs
Public Sub New (newDate As DateTime, previousDate As DateTime)

Parameters

newDate
DateTime

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

previousDate
DateTime

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

Applies to

See also