Skip to main content
A newer version of this page is available. .

DateEdit.ShowClearButton Property

Gets or sets whether the dropdown calendar displays the Clear button. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v18.2.dll

Declaration

public bool ShowClearButton { get; set; }

Property Value

Type Description
Boolean

true if the dropdown calendar displays the Clear button; otherwise, false.

Remarks

The Clear button allows end-users to clear the currently selected date. Clicking this button sets the editor’s BaseEdit.EditValue property to BaseEdit.NullValue and closes the dropdown calendar.

The Today button’s and week numbers’ visibility can be specified using the DateEdit.ShowToday and DateEdit.ShowWeekNumbers properties, respectively.

See Also