Skip to main content

RepositoryItemDateEdit.HighlightTodayCellWhenSelected Property

Gets or sets whether today’s date is highlighted in the editor’s drop-down when selected, or belongs to a selected range of dates.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
public bool HighlightTodayCellWhenSelected { get; set; }

Property Value

Type Default Description
Boolean true

true if today’s date is highlighted in the editor’s drop-down when selected, or belongs to a selected range of dates; otherwise, false.

Remarks

If the RepositoryItemDateEdit.HighlightTodayCell setting is enabled, the DateEdit control highlights today’s cell in its drop-down. See the figure below.

DateEdit_HighlightTodayCell

The HighlightTodayCellWhenSelected property specifies whether today’s date is highlighted in the same manner when selected, or belongs to a selected range of dates in multiple selection mode (see RepositoryItemDateEdit.SelectionMode). The figures below show the DateEdit control with the HighlightTodayCellWhenSelected setting enabled and disabled, respectively.

DateEdit_HighlightTodayCellWhenSelected_True DateEdit_HighlightTodayCellWhenSelected_False

See Also