Skip to main content

ValidationEventArgs.UpdateSource Property

Gets the action that caused the validation.

Namespace: DevExpress.WinUI.Editors

Assembly: DevExpress.WinUI.Editors.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

public UpdateEditorSource UpdateSource { get; protected set; }

Property Value

Type Description
UpdateEditorSource

The action that caused the editor’s validation.

Available values:

Name Description
DontValidate

The validation won’t occur.

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