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.v20.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