CalendarControl.TodayClick Event

Fires when the Today button is clicked.

Namespace: DevExpress.XtraEditors.Controls

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 CalendarControlBase.ShowTodayButton property is set to True, the CalendarControl displays the Today button that selects today's date with a click. See the figure below.

CalendarControl_TodayButton

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

See Also