RepositoryItemDateEdit.TodayDate Property
Gets or sets the date that is regarded as Today’s date.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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