Skip to main content
A newer version of this page is available. .

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.v19.1.dll

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