DayRenderEventArgs Constructor (TableCell^, CalendarDay^)

 

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

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

public:
DayRenderEventArgs(
	TableCell^ cell,
	CalendarDay^ day
)

Parameters

cell
Type: System.Web.UI.WebControls::TableCell^

A TableCell that represents a cell in the Calendar.

day
Type: System.Web.UI.WebControls::CalendarDay^

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

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.

System_CAPS_noteNote

This constructor is used primarily by control developers.

.NET Framework
Available since 1.1
Return to top
Show: