Skip to main content

ValidationEventArgs.UpdateSource Property

Gets the action that caused the validation.

Namespace: DevExpress.UI.Xaml.Editors.Native

Assembly: DevExpress.UI.Xaml.Editors.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public UpdateEditorSource UpdateSource { get; }

Property Value

Type Description
UpdateEditorSource

A UpdateEditorSource enumeration value.

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