HeaderPane
Main
Hide
Share Link
Print

ShowClearButton Property, SftDateCalendar Object

Defines whether the Clear button is shown.

Syntax

Get

C#bool Boolean = object.ShowClearButton;
VB.NETBoolean = object.ShowClearButton As Boolean
C++VARIANT_BOOL Boolean = object->ShowClearButton;
VARIANT_BOOL Boolean = object->GetShowClearButton();
CHRESULT object->get_ShowClearButton(VARIANT_BOOL* Boolean);

Put

C#bool object.ShowClearButton = Boolean;
VB.NETobject.ShowClearButton = Boolean As Boolean
C++VARIANT_BOOL object->ShowClearButton = Boolean;
void object->PutShowClearButton(VARIANT_BOOL Boolean);
CHRESULT object->put_ShowClearButton(VARIANT_BOOL Boolean);

object

A SftDateCalendar object.

Boolean

Defines whether the Clear button is shown.

Comments

The ShowClearButton property defines whether the Clear button is shown below the months. The default is False. p Clicking the Clear button in a month calendar control removes the selected date or range and raises the ClearClicked event. In the dropdown calendar of a date field control, the Clear button closes the dropdown and empties the field, if it allows an empty value (AllowEmpty) or has a check box (ShowCheckBox). p The button's text is defined using ClearText. The date field control's own Clear button is defined using SftDate.ShowClearButton. p The setting applies to a month calendar control and to the dropdown calendar of a date field control.

See Also SftDateCalendar Object | Object Hierarchy | Today and Clear Buttons


Last Updated 11/29/2026 - (email)
© 2026 Softel vdm, Inc.