Skip to main content

ASPxTimeEdit.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.v23.1.dll

NuGet Package: DevExpress.Web


public bool AllowNull { get; set; }

Property Value

Type Default Description
Boolean true

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


If the AllowNull property is set to true, end-users can enter a null value into the time editor by clearing its text. In this case, the editor’s ASPxTimeEdit.Value property equals null.

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


This property is a wrapper of the TimeEditProperties.AllowNull property.

See Also