RepositoryItemDateEdit.ShowClear Property
Gets or sets whether the dropdown calendar contains the Clear button (this button is not supported in CalendarView.TouchUI mode).
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true if the dropdown calendar contains the Clear button; otherwise, false. |
Remarks
The ShowClear property specifies the visibility of the Clear button in the dropdown calendar. The Clear button allows end-users to reset the currently selected date. When a user clicks this button, the edit value is set to the RepositoryItemDateEdit.NullDate property value and the dropdown is closed. By default, RepositoryItemDateEdit.NullDate contains null. You can set RepositoryItemDateEdit.NullDate to any date.
The ShowClear and RepositoryItemTextEdit.AllowNullInput properties are synchronized.
Note
The ShowClear property, and so the Clear button are not supported when the RepositoryItemDateEdit.CalendarView property is set to TouchUI.