Skip to main content

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.v22.2.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.

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.


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

See Also