This documentation is archived and is not being maintained.

DayRenderEventArgs Constructor

.NET Framework 1.1

Initializes a new instance of the DayRenderEventArgs class.

[Visual Basic]
Public Sub New( _
   ByVal cell As TableCell, _
   ByVal day As CalendarDay _
)
[C#]
public DayRenderEventArgs(
   TableCell cell,
 CalendarDay day
);
[C++]
public: DayRenderEventArgs(
   TableCell* cell,
 CalendarDay* day
);
[JScript]
public function DayRenderEventArgs(
   cell : TableCell,
 day : CalendarDay
);

Parameters

cell
A TableCell object that represents a cell in the Calendar control.
day
A CalendarDay object that represents the day to render in the Calendar control.

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 following properties are initialized to the specified values.

Property Initial Value
TableCell The value of the cell parameter.
CalendarDay The value of the day parameter.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

DayRenderEventArgs Class | DayRenderEventArgs Members | System.Web.UI.WebControls Namespace | TableCell | CalendarDay

Show: