windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdateedit-09f5be87.md
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.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[DXCategory("Appearance")]
public bool HighlightTodayCellWhenSelected { get; set; }
<DefaultValue(True)>
<DXCategory("Appearance")>
Public Property HighlightTodayCellWhenSelected As Boolean
| 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.
|
If the RepositoryItemDateEdit.HighlightTodayCell setting is enabled, the DateEdit control highlights today’s cell in its drop-down. See the figure below.
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.
See Also