Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseContainerValidateEditorEventArgs.Valid Property

Gets or sets whether the value is valid.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public bool Valid { get; set; }

#Property Value

Type Description
Boolean

true to indicate that the value is valid; otherwise false.

#Remarks

Use the Valid property to specify whether the value meets your validity criteria. Set the property to false if the value is not valid and therefore should not be saved to the data source. If you set the property to true, the container control will try to save the value to the data source.

If the Valid property value is set to false, end-users are not allowed to move focus from the cell being edited.

See Also