Back to Devexpress

RepositoryItemDateEdit.HighlightTodayCellWhenSelected Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdateedit-09f5be87.md

latest2.8 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Appearance")]
public bool HighlightTodayCellWhenSelected { get; set; }
vb
<DefaultValue(True)>
<DXCategory("Appearance")>
Public Property HighlightTodayCellWhenSelected As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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.

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

HighlightTodayCell

RepositoryItemDateEdit Class

RepositoryItemDateEdit Members

DevExpress.XtraEditors.Repository Namespace