Back to Devexpress

RepositoryItemDateEdit.TodayDate Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdateedit-328b3a77.md

latest2.1 KB
Original Source

RepositoryItemDateEdit.TodayDate Property

Gets or sets the date that is regarded as Today’s date.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
public DateTime TodayDate { get; set; }
vb
<DXCategory("Behavior")>
Public Property TodayDate As Date

Property Value

TypeDescription
DateTime

The date that is regarded as Today’s date.

|

Remarks

A click on the Today button in the dropdown calendar (see RepositoryItemDateEdit.ShowToday) scrolls and zooms the calendar to ensure that Today’s date is visible.

In the CalendarView.Classic mode, a click on the Today button assigns Today’s date to the edit value and thus to the DateEdit.DateTime property and closes the dropdown. In the CalendarView.Vista mode, Today’s date is not assigned to the edit value and the dropdown is not closed.

See Also

CalendarView

ShowToday

RepositoryItemDateEdit Class

RepositoryItemDateEdit Members

DevExpress.XtraEditors.Repository Namespace