ValidationEventArgs.UpdateSource Property
Gets the action that caused the validation.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
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