Skip to main content

ColorEditProperties.AllowNull Property

Gets or sets a value that specifies whether a color editor allows null values to be entered.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public bool AllowNull { get; set; }

Property Value

Type Default Description
Boolean true

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


Use the AllowNull property to specify whether a color editor allows entering null values manually into the edit box, by using the server ASPxColorEdit.Value property, or the ASPxClientColorEdit.SetColor method.


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

See Also