Skip to main content

BaseEdit.InvalidValueBehavior Property

Gets or sets a value that specifies the editor's response to an invalid value. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public InvalidValueBehavior InvalidValueBehavior { get; set; }

#Property Value

Type Description
InvalidValueBehavior

One of the InvalidValueBehavior enumeration values.

#Remarks

If the InvalidValueBehavior property is set to InvalidValueBehavior.AllowLeaveEditor, an end-user can switch to another editor, and re-enter a value for this editor later. Setting the InvalidValueBehavior property to InvalidValueBehavior.WaitForValidValue locks the entire application until a correct value is entered.

If an editor is used in-place within a container control (e.g. GridControl), setting the InvalidValueBehavior property has no effect.

#Implements

DevExpress.Xpf.Editors.IBaseEdit.InvalidValueBehavior
DevExpress.Xpf.Editors.Validation.ISupportDXValidation.InvalidValueBehavior
See Also