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.v18.2.dll

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

UpdateSource value Condition
Don’tValidate The validation won’t occur. This member supports the internal infrastructure and is not intended to be used directly from your code.
DoValidate The BaseEdit.DoValidate method was called.
ValueChanging The editor’s value has been changed programmatically (e.g. in code behind).
TextInput The edit value has been changed by an end-user.
EnterKeyPressed An end-user has changed the edit value and pressed the ENTER key (the BaseEdit.ValidateOnEnterKeyPressed property should be set to true).
LostFocus The editor is about to lose the focus.
See Also