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

NuGet Package: DevExpress.Web

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