Back to Devexpress

CalendarControlBase.ShowClearButton Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-calendarcontrolbase-eed87c15.md

latest2.9 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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

|

See Also

AddSelection

HighlightSelection

SelectedRanges

SelectionBehavior

SelectionChanged

SelectionEnd

SelectionMode

SelectionStart

SetSelection

SyncSelectionWithEditValue

UpdateSelectionWhenNavigating

CalendarControlBase Class

CalendarControlBase Members

DevExpress.XtraEditors.Controls Namespace