Skip to main content

CalendarControlBase.ShowClearButton Property

Gets or sets the visibility of the Clear button, which clears the current selection, sets the CalendarControlBase.EditValue property to null and the CalendarControlBase.DateTime property to the CalendarControlBase.NullDate value.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool ShowClearButton { get; set; }

Property Value

Type Default Description
Boolean false

true if the Clear button is visible; otherwise, false.

See Also