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.v20.1.dll

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool ShowClearButton { get; set; }
<DefaultValue(False)>
<DXCategory("Behavior")>
Public Overridable Property ShowClearButton As Boolean

Property Value

Type Default Description
Boolean

false

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

See Also