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.TodayDate Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Behavior")]
public DateTime TodayDate { get; set; }

#Property Value

Type Description
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