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

ProcessNewValueEventArgs.PostponedValidation Property

Gets or sets whether to postpone edit value validation.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public bool PostponedValidation { get; set; }

#Property Value

Type Description
Boolean

true to postpone edit value validation; otherwise, false.

#Remarks

When an end-user presses the Enter key or moves focus to another control, and the editor cannot find an item that matches the text entered by an end-user within the edit box (ProcessNewValueEventArgs.DisplayText), the LookUpEditBase.ProcessNewValue event occurs. Handle this event, to manually validate a new value, and if required, add the corresponding record to a data source.

If you want to show a floating container, allowing an end-user to specify other values for a new record, set the event parameter’s PostponedValidation property to true. In this case, a new value will be validated after a floating container is closed.

See Also