Skip to main content

ValidationEventArgs.UpdateSource Property

Gets the action that caused the validation.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core


public UpdateEditorSource UpdateSource { get; }

Property Value

Type Description

A DevExpress.Xpf.Editors.Validation.Native.UpdateEditorSource enumeration value.


The table below lists the possible UpdateSource values:

UpdateSource value Condition
DontValidate For internal use.
DoValidate The BaseEdit.DoValidate method is called.
ValueChanging The editor’s value was changed in code.
TextInput An end user changed the edit value.
EnterKeyPressed An end user has changed the edit value and pressed Enter.
The BaseEdit.ValidateOnEnterKeyPressed property should be set to true.
LostFocus The editor is about to lose focus.
See Also