Skip to main content

CalendarProperties.HighlightWeekends Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public bool HighlightWeekends { get; set; }

Property Value

Type Default Description
Boolean true

true if weekend days are highlighted; otherwise, false.


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.


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

See Also