Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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