System.Web.UI.WebControls.CalendarDay.IsToday Property

Gets a value that indicates whether the date represented by an instance of this class is the same date specified by the Calendar.TodaysDate property of the System.Web.UI.WebControls.Calendar control. This property is read-only.

Syntax

public bool IsToday { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the CalendarDay.IsToday property to programmatically determine whether the date represented by an instance of this class is the same date specified by the Calendar.TodaysDate property of the System.Web.UI.WebControls.Calendar control. This allows you to programmatically control the appearance or behavior of the day, based on this value.

Note:

Although the date specified by the Calendar.TodaysDate property is usually the system date on the server, it is possible to change it, if necessary.

Requirements

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