Easy Tutorial
❮ Mvc Models Index ❯

ASP.NET Calendar WeekendDayStyle Property



Definition and Usage

The WeekendDayStyle property is used to set or return the style for weekends in the calendar.

Syntax

Property Description
style Specifies the style to be set. See Style Control
value Specifies the value of the specified style.

Example 1

The following example shows one method of setting the WeekendDayStyle in the calendar:


Example 2

The following example shows another method of setting the WeekendDayStyle in the calendar:


Try It - Demo

Set WeekendDayStyle of Calendar Control (with declaration and script)


❮ Mvc Models Index ❯