Skip to main content

RepositoryItemCheckedComboBoxEdit.SeparatorChar Property

Gets or sets the character separating checked items in the edit value, and the resultant text displayed in the edit box.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(',')]
[DXCategory("Format")]
public virtual char SeparatorChar { get; set; }

Property Value

Type Default Description
Char ','

A separator character.

Remarks

The SeparatorChar property is used to separate items in the edit value and the resultant text displayed in the edit box.

You can set a CheckedComboBoxEdit control’s value via the CheckedComboBoxEdit.SetEditValue method. The value being assigned must specify a string that concatenates values (strings) of items to be checked. Values in the resultant string must be separated using the separator character specified by the SeparatorChar property, followed by a SPACE character.

The SeparatorChar property is not in effect when the control is bound to a bit field. When the control is bound to a bit field, flags in the text displayed in the edit box are delimited, using the character specified by the current thread’s ListSeparator property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SeparatorChar property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also