System.Web.UI.WebControls.CalendarDay Class

Represents a date in the System.Web.UI.WebControls.Calendar control.

See Also: CalendarDay Members

Syntax

public class CalendarDay

Remarks

A System.Web.UI.WebControls.CalendarDay object represents a date in the System.Web.UI.WebControls.Calendar control. You can use this class in the Calendar.DayRender event handler to programmatically access the properties of a date as it is rendered on the System.Web.UI.WebControls.Calendar control. This allows you to determine the properties of the day (such as whether the date is selectable, selected, today's date, or a weekend date) and programmatically control the appearance or behavior of the day.

For a list of initial property values for an instance of System.Web.UI.WebControls.CalendarDay, see the CalendarDay.#ctor(DateTime, bool, bool, bool, bool, string) constructor.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0