RepositoryItemTokenEdit.ValidationRules Property
In This Article
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. |
Default | Token |
#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