RepositoryItemTokenEdit.EditValueSeparatorChar Property
Gets or sets the character used to separate the TokenEdit.EditValue property value into multiple text blocks.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(',')]
[DXCategory("Format")]
public char EditValueSeparatorChar { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Char | ',' | A Char value that is used to separate the TokenEdit.EditValue property value into multiple text blocks. |
Remarks
By default, the text string assigned to the TokenEdit.EditValue property is divided into multiple text blocks (each validated separately on the RepositoryItemTokenEdit.ValidateToken event) upon detecting a comma character (,). If you have set other character as this editor’s separator via the editor’s smart-tag (see the Token Edit Control topic) and want to set the editor’s edit value in code, you have to assign this character to the EditValueSeparatorChar property. Otherwise, the edit value will be considered as a single text block that should be validated.