RepositoryItemDateEdit.HighlightHolidays Property

Gets or sets whether Saturdays and Sundays are highlighted.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

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

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