Defines whether the Clear button is shown.
Get
| C# | bool Boolean = object.ShowClearButton; |
| VB.NET | Boolean = object.ShowClearButton As Boolean |
| C++ | VARIANT_BOOL Boolean = object->ShowClearButton; VARIANT_BOOL Boolean = object->GetShowClearButton(); |
| C | HRESULT object->get_ShowClearButton(VARIANT_BOOL* Boolean); |
Put
| C# | bool object.ShowClearButton = Boolean; |
| VB.NET | object.ShowClearButton = Boolean As Boolean |
| C++ | VARIANT_BOOL object->ShowClearButton = Boolean; void object->PutShowClearButton(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_ShowClearButton(VARIANT_BOOL Boolean); |
object
Boolean
Defines whether the Clear button is shown.
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