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.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.2.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.

See Also