Back to Devexpress

RepositoryItemDateEdit.HighlightHolidays Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdateedit-7bd0df98.md

latest1.6 KB
Original Source

RepositoryItemDateEdit.HighlightHolidays Property

Gets or sets whether Saturdays and Sundays are highlighted.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool HighlightHolidays { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(True)>
Public Overridable Property HighlightHolidays As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

RepositoryItemDateEdit Class

RepositoryItemDateEdit Members

DevExpress.XtraEditors.Repository Namespace