Back to Devexpress

CalendarControl.TodayClick Event

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-calendarcontrol.md

latest1.9 KB
Original Source

CalendarControl.TodayClick Event

Fires when the Today button is clicked.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Events")]
public event EventHandler TodayClick
vb
<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.

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

See Also

ShowTodayButton

OkClick

CancelClick

CalendarControl Class

CalendarControl Members

DevExpress.XtraEditors.Controls Namespace