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

RepositoryItemTokenEdit.ValidationRules Property

Gets or sets a set of validation rules for this TokenEdit.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(TokenEditValidationRules.Default)]
[DXCategory("Behavior")]
public TokenEditValidationRules ValidationRules { get; set; }

#Property Value

Type Default Description
DevExpress.XtraEditors.TokenEditValidationRules Default

TokenEditValidationRules enumerator values that specify validation rules for this TokenEdit.

#Remarks

The ValidationRules property specifies a set of rules that tell this TokenEdit when it should validate the entered text. The default ValidationRules property value is equal to the All value and allows the editor to validate the entered text on both losing focus and inputting a separator character (see the RepositoryItemTokenEdit.Separators collection).

See Also