Skip to main content
Tab

CalendarProperties.HighlightWeekends Property

Gets or sets a value that specifies whether weekend days are highlighted within the calendar.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool HighlightWeekends { get; set; }

Property Value

Type Default Description
Boolean true

true if weekend days are highlighted; otherwise, false.

Remarks

If the HighlightWeekends property is set to true, the appearance of weekend days can be customized using settings available via the CalendarProperties.DayWeekendStyle (ASPxCalendar.DayWeekendStyle) property.

Note

The HighlightWeekends property synchronizes its value with the calendar’s ASPxCalendar.HighlightWeekends property.

See Also