Defines whether the field can be empty.
Get
| C# | bool Boolean = object.AllowEmpty; |
| VB.NET | Boolean = object.AllowEmpty As Boolean |
| C++ | VARIANT_BOOL Boolean = object->AllowEmpty; VARIANT_BOOL Boolean = object->GetAllowEmpty(); |
| C | HRESULT object->get_AllowEmpty(VARIANT_BOOL* Boolean); |
Put
| C# | bool object.AllowEmpty = Boolean; |
| VB.NET | object.AllowEmpty = Boolean As Boolean |
| C++ | VARIANT_BOOL object->AllowEmpty = Boolean; void object->PutAllowEmpty(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_AllowEmpty(VARIANT_BOOL Boolean); |
object
Boolean
Defines whether the field can be empty.
The AllowEmpty property defines whether a date field control can be empty. The default is False: the field always has a value. p An empty field shows its placeholder text (PlaceholderText) and its Value is Null. The user empties the field by deleting all parts, by deleting the text in free-form editing, using the Clear button (ShowClearButton) or the Clear button of the dropdown calendar (Calendar.ShowClearButton); the application by setting Value to Null. p An empty field that no longer allows an empty value shows its last value again. The check box (ShowCheckBox) is the other way of letting a field have no value.
See Also SftDate Object | Object Hierarchy | Values