Skip to main content
A newer version of this page is available. .
Tab

TimeEditProperties.AllowNull Property

Gets or sets a value that specifies whether the time editor allows a null value to be entered.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

[DefaultValue(true)]
public bool AllowNull { get; set; }

Property Value

Type Default Description
Boolean **true**

true, if null value can be entered into the editor, otherwise, false.

Remarks

If the AllowNull property is set to true, end-users can enter a null value into the time editor by clearing its text.

When the editor’s value is null and the editor is not focused, a prompt text can be displayed by the editor. Use the TimeEditProperties.NullText property to specify the prompt text.

Note

The AllowNull property synchronizes its value with the editor’s ASPxTimeEdit.AllowNull property.

See Also