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

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.v18.2.dll

Declaration

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

Property Value

Type Default Description
Boolean **true**

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

Remarks

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.

Note

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

See Also