HtmlContentControl.ValidatingEditor Event
Fires when a user edits the active in-place editor’s value and attempts to move focus away from (close) the editor. The ValidatingEditor
event is only in effect for in-place editors (Repository Items) added to the UI using the ‘input’ tag.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DXCategory("Editor")]
public event BaseContainerValidateEditorEventHandler ValidatingEditor
#Event Data
The ValidatingEditor event's data class is BaseContainerValidateEditorEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Error |
Gets or sets the error description. |
Valid | Gets or sets whether the value is valid. |
Value | Gets or sets the value being validated. |
#Remarks
See the following topic for information on how to access the active in-place editor, and the specifics of working with in-place editors: HtmlContentControl.ActiveEditor.
The ValidatingEditor
event is equivalent to the RepositoryItem.Validating event.
#Related API
#Properties
#Events
- HtmlContentControl.ShowingEditor
- HtmlContentControl.ShownEditor
HtmlContentControl.ValidatingEditor
- HtmlContentControl.HiddenEditor
- HtmlContentControl.EditorValueChanged
- HtmlContentControl.EditorValueChanging
- HtmlContentControl.CustomEditor
- HtmlContentControl.CustomEditorForEditing
#Methods
- HtmlContentControl.ShowEditor
- HtmlContentControl.CloseEditor
- HtmlContentControl.HideEditor
- HtmlContentControl.PostEditor
- HtmlContentControl.SetFieldValue
- HtmlContentControl.GetFieldValue