Back to Devexpress

ASPxColorEdit.ColorOnError Property

aspnet-devexpress-dot-web-dot-aspxcoloredit-2e2a1cd8.md

latest1.6 KB
Original Source

ASPxColorEdit.ColorOnError Property

Gets or sets a value that specifies the action to be performed after entering an invalid color value to the editor.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(ColorOnError.Undo)]
public ColorOnError ColorOnError { get; set; }
vb
<DefaultValue(ColorOnError.Undo)>
Public Property ColorOnError As ColorOnError

Property Value

TypeDefaultDescription
ColorOnErrorUndo

One of the ColorOnError enumeration values.

|

Available values:

NameDescription
Undo

An invalid color value is replaced with the previously defined value.

| | Null |

An invalid color value is replaced with a null value.

|

Remarks

This property is a wrapper of the ColorEditProperties.ColorOnError property.

See Also

ColorOnError

Color Editor

ASPxColorEdit Class

ASPxColorEdit Members

DevExpress.Web Namespace