Back to Devexpress

RepositoryItemDateEdit.TodayClick Event

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemdateedit-e6812462.md

latest1.8 KB
Original Source

RepositoryItemDateEdit.TodayClick Event

Fires when the Today button is clicked.

Namespace : DevExpress.XtraEditors.Repository

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 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.

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

See Also

ShowToday

TodayDate

RepositoryItemDateEdit Class

RepositoryItemDateEdit Members

DevExpress.XtraEditors.Repository Namespace