Back to Devexpress

ValidationEventArgs.UpdateSource Property

wpf-devexpress-dot-xpf-dot-editors-dot-validationeventargs.md

latest1.7 KB
Original Source

ValidationEventArgs.UpdateSource Property

Gets the action that caused the validation.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public UpdateEditorSource UpdateSource { get; }
vb
Public ReadOnly Property UpdateSource As UpdateEditorSource

Property Value

TypeDescription
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 valueCondition
DontValidateFor internal use.
DoValidateThe BaseEdit.DoValidate method is called.
ValueChangingThe editor’s value was changed in code.
TextInputAn end user changed the edit value.
EnterKeyPressedAn end user has changed the edit value and pressed Enter.
The BaseEdit.ValidateOnEnterKeyPressed property should be set to true.
LostFocusThe editor is about to lose focus.

See Also

ValidationEventArgs Class

ValidationEventArgs Members

DevExpress.Xpf.Editors Namespace