RepositoryItemDateEdit.ShowToday Property
Gets or sets whether to display the Today button in the dropdown calendar (in Classic and Vista modes).
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true if the Today button is visible; otherwise,false. |
Remarks
The ShowToday property specifies the Today button’s visibility in the Classic and Vista view styles (see RepositoryItemDateEdit.CalendarView).
In the Classic view style, a click on the Today button assigns Today’s date (RepositoryItemDateEdit.TodayDate) to the editor’s value (DateEdit.DateTime) and closes the dropdown. A click on the Today button does not change the time portion of the current value.
In the Vista view style, a click on the Today button highlights Today’s date (RepositoryItemDateEdit.TodayDate) in the calendar, but does not change the editor value and does not close the dropdown.
Note
The TouchUI view style does not support the Today button, nor the ShowToday property.