Defines whether a button that clears the field 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 a button that clears the field is shown.
The ShowClearButton property defines whether a date field control shows a Clear button (an x) in front of its other buttons. The default is False. p The button appears while the field has a value and is enabled. Clicking it empties the field if it allows an empty value (AllowEmpty), after the ValueValidating event; otherwise it clears the check box (ShowCheckBox). p The Clear button of the dropdown calendar is defined using Calendar.ShowClearButton.
See Also SftDate Object | Object Hierarchy | Values