RepositoryItemDateEdit.TodayClick Event

Fires when the Today button is clicked.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Events")]
public event EventHandler TodayClick
<DXCategory("Events")>
Public Event TodayClick As EventHandler

Event Data

The TodayClick event's data class is EventArgs.

Remarks

If the RepositoryItemDateEdit.ShowToday property is set to True, the DateEdit pop-up displays the Today button that selects today's date with a click. See the figure below.

DateEdit_TodayButton

Also, you can perform custom actions with a click on the Today button by handling the TodayClick event.

See Also