Back to Devexpress

RepositoryItemTokenEdit.EditValueSeparatorChar Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemtokenedit-9cd2eb2d.md

latest2.2 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(',')]
[DXCategory("Format")]
public char EditValueSeparatorChar { get; set; }
vb
<DXCategory("Format")>
<DefaultValue(","c)>
Public Property EditValueSeparatorChar As Char

Property Value

TypeDefaultDescription
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

RepositoryItemTokenEdit Class

RepositoryItemTokenEdit Members

DevExpress.XtraEditors.Repository Namespace