System.Web.UI.WebControls.CalendarDay.IsWeekend Property

Gets a value that indicates whether the date represented by an instance of this class is a either Saturday or Sunday. This property is read-only.

Syntax

public bool IsWeekend { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the CalendarDay.IsWeekend property to programmatically determine whether the date represented by an instance of this class is either a Saturday or a Sunday. This allows you to programmatically control the appearance or behavior of the day, based on this value.

Requirements

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