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