Skip to main content

CalendarControl.TodayClick Event

Fires when the Today button is clicked.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DXCategory("Events")]
public event EventHandler TodayClick

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