RepositoryItemCheckedComboBoxEdit.SeparatorChar Property
Gets or sets the character that separates checked items in the edit value and the resulting text displayed in the edit box.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v26.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
Use the SeparatorChar property to separate items in the edit value and the resulting text displayed in the edit box.
You can set a CheckedComboBoxEdit control’s value using the CheckedComboBoxEdit.SetEditValue method. The assigned value must specify a string that concatenates values (strings) of items to be checked. Values in the resulting string must be separated with the separator character specified by the SeparatorChar property, followed by a SPACE character.
Notes
When the control is bound to a bit field, the
SeparatorCharproperty is not in effect. The current thread’s ListSeparator property specifies a delimiter for flags in the text displayed in the edit box.To ensure correct operation, specify a unique separator character that is not a part of an editor item’s display text/value.