RepositoryItemPopupGalleryEdit.EditValueType Property

Gets of sets whether the PopupGalleryEdit editor's edit value is represented by the string of character-separated values (the default behavior) or by the System.Collections.Generic.List<object> object.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Data")]
[DefaultValue(EditValueTypeCollection.CSV)]
public virtual EditValueTypeCollection EditValueType { get; set; }
<DXCategory("Data")>
<DefaultValue(EditValueTypeCollection.CSV)>
Public Overridable Property EditValueType As EditValueTypeCollection

Property Value

Type Default Description
DevExpress.XtraEditors.Repository.EditValueTypeCollection

CSV

An EditValueTypeCollection enumeration value that specifies the type in which the edit value is represented.

Remarks

By default, when the EditValueType property is set to CSV, the PopupGalleryEdit editor's EditValue property of the Object type returns its value as a string containing values of checked items separated by a character specified by the RepositoryItemPopupGalleryEdit.SeparatorChar property, followed by a space character. Set the EditValueType property to List to enable the PopupGalleryEdit editor's EditValue property to return its value as the System.Collections.Generic.List<object> object.

See Also