Skip to main content
A newer version of this page is available. .

ValidationEventArgs.UpdateSource Property

Gets the action that caused the validation.

Namespace: DevExpress.Xpf.Editors

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public UpdateEditorSource UpdateSource { get; }

Property Value

Type Description
DevExpress.Xpf.Editors.Validation.Native.UpdateEditorSource

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

Remarks

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