Skip to main content

RepositoryItemTokenEdit.ValidationRules Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.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