
852
|
Chapter 42: The System.Web.UI.WebControls Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ DayNameFormat
Returned By
Calendar.DayNameFormat
Passed To
Calendar.DayNameFormat
DayRenderEventArgs
System.Web.UI.WebControls (system.web.dll)
sealed class
This object is provided to the DayRenderEventHandler. It identifies the CalendarDay that is
about to be added and the TableCell that contains the date by means of the Day and Cell
properties. The Calendar.DayRender event is fired for every currently displayed day. This
includes days from the preceding and following month, which are used to fill out the
first and last week on the calendar.
Passed To
DayRenderEventHandler.{BeginInvoke( ), Invoke( )}
DayRenderEventHandler
System.Web.UI.WebControls (system.web.dll)
serializable
delegate
This delegate defines the subroutine used to handle the Calendar.DayRender event. This
event fires as each day is added to the currently displayed calendar month and
provides additional information about the day in a DayRenderEventArgs object. The proper-
ties of this object can be modified to programmatically change the display color for a
specific date or to make certain dates unselectable.
Associated Events
Calendar.DayRender( )
DropDownList ...