MonthChangedEventArgs(DateTime, DateTime) Construtor

Definição

Inicializa uma nova instância da classe MonthChangedEventArgs.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)

Parâmetros

newDate
DateTime

A data que determina o mês atualmente exibido pelo Calendar.The date that determines the month currently displayed by the Calendar.

previousDate
DateTime

A data que determina o mês anteriormente exibido pelo Calendar.The date that determines the month previously displayed by the Calendar.

Comentários

A tabela a seguir mostra os valores de propriedade inicial para uma instância do MonthChangedEventArgs .The following table shows initial property values for an instance of MonthChangedEventArgs.

PropriedadeProperty Valor inicialInitial value
NewDate newDate
PreviousDate previousDate

Aplica-se a

Confira também