Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

InvalidValueBehavior Enum

Lists values that specify the response of an editor to an invalid value.

Namespace: DevExpress.Xpf.Editors.Validation

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public enum InvalidValueBehavior

#Members

Name Description
AllowLeaveEditor

This mode allows you to switch to another editor, and re-enter a value for this editor later.

WaitForValidValue

This mode locks the entire application until a correct value is entered.

#Related API Members

The following properties accept/return InvalidValueBehavior values:

#Remarks

The values listed by this enumeration are used to set the BaseEdit.InvalidValueBehavior property.

See Also