Skip to main content
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.v24.2.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