Skip to main content
A newer version of this page is available. .

RepositoryItemTokenEdit.ValidationRules Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(TokenEditValidationRules.Default)]
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