Redigera

Dela via


DayRenderEventArgs Constructors

Definition

Initializes a new instance of the DayRenderEventArgs class.

Overloads

DayRenderEventArgs(TableCell, CalendarDay)

Initializes a new instance of the DayRenderEventArgs class using the specified cell and calendar day.

DayRenderEventArgs(TableCell, CalendarDay, String)

Initializes a new instance of the DayRenderEventArgs class using the specified cell, calendar day, and selection URL.

DayRenderEventArgs(TableCell, CalendarDay)

Initializes a new instance of the DayRenderEventArgs class using the specified cell and calendar day.

public:
 DayRenderEventArgs(System::Web::UI::WebControls::TableCell ^ cell, System::Web::UI::WebControls::CalendarDay ^ day);
public DayRenderEventArgs (System.Web.UI.WebControls.TableCell cell, System.Web.UI.WebControls.CalendarDay day);
new System.Web.UI.WebControls.DayRenderEventArgs : System.Web.UI.WebControls.TableCell * System.Web.UI.WebControls.CalendarDay -> System.Web.UI.WebControls.DayRenderEventArgs
Public Sub New (cell As TableCell, day As CalendarDay)

Parameters

cell
TableCell

A TableCell that represents a cell in the Calendar.

day
CalendarDay

A CalendarDay that represents the day to render in the Calendar.

Remarks

Use this constructor to create and initialize a new instance of the DayRenderEventArgs class.

When an instance of DayRenderEventArgs is created by a call to this constructor, the properties shown in the following table are initialized to the specified values.

Property Initial value
Cell The value of the cell parameter.
Day The value of the day parameter.

Note

This constructor is used primarily by control developers.

See also

Applies to

DayRenderEventArgs(TableCell, CalendarDay, String)

Initializes a new instance of the DayRenderEventArgs class using the specified cell, calendar day, and selection URL.

public:
 DayRenderEventArgs(System::Web::UI::WebControls::TableCell ^ cell, System::Web::UI::WebControls::CalendarDay ^ day, System::String ^ selectUrl);
public DayRenderEventArgs (System.Web.UI.WebControls.TableCell cell, System.Web.UI.WebControls.CalendarDay day, string selectUrl);
new System.Web.UI.WebControls.DayRenderEventArgs : System.Web.UI.WebControls.TableCell * System.Web.UI.WebControls.CalendarDay * string -> System.Web.UI.WebControls.DayRenderEventArgs
Public Sub New (cell As TableCell, day As CalendarDay, selectUrl As String)

Parameters

cell
TableCell

A TableCell that represents a cell in the Calendar.

day
CalendarDay

A CalendarDay that represents the day to render in the Calendar.

selectUrl
String

The script used to post the page back to the server when the user selects the date being rendered.

Remarks

Use this constructor to create and initialize a new instance of the DayRenderEventArgs class.

When an instance of DayRenderEventArgs is created by a call to this constructor, the properties shown in the following table are initialized to the specified values.

Property Initial value
Cell The value of the cell parameter.
Day The value of the day parameter.
SelectUrl The value of the selectUrl parameter.

Note

This constructor is used primarily by control developers.

See also

Applies to