Skip to main content

RepositoryItemDateEdit.HighlightHolidays Property

Gets or sets whether Saturdays and Sundays are highlighted.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool HighlightHolidays { get; set; }

Property Value

Type Default Description
Boolean true

true to highlight Saturdays and Sundays; otherwise, false.

Remarks

If the HighlightHolidays property is set to true, the day cells that correspond to Saturdays and Sundays in the current month are painted red. Otherwise, they are painted black.

See Also