Skip to main content

CalendarControlBase.HighlightTodayCell Property

Gets or sets whether Today’s date is highlighted.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public virtual DefaultBoolean HighlightTodayCell { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A value that specifies if Today’s date is highlighted

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

When the HighlightTodayCell property is set to Default or True, Today’s date is automatically highlighted in the calendar. Set this property to False to prevent this from happening.

See Also