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.v21.2.dll

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