Back to Devexpress

RepositoryItemLookUpEdit.EditValueType Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitemlookupedit-f35bad80.md

latest3.0 KB
Original Source

RepositoryItemLookUpEdit.EditValueType Property

Gets or sets whether the editor’s EditValue property returns a selected item, a list of selected items, or a string that combines DisplayMember property values of selected items.

Namespace : DevExpress.XtraEditors.Repository

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(LookUpEditValueType.Default)]
[DXCategory("Data")]
public LookUpEditValueType EditValueType { get; set; }
vb
<DXCategory("Data")>
<DefaultValue(LookUpEditValueType.Default)>
Public Property EditValueType As LookUpEditValueType

Property Value

TypeDefaultDescription
LookUpEditValueTypeDefault

The EditValue property type.

|

Available values:

NameDescription
Default

ValueList if the editor’s CheckBoxSelectorMember property is specified.

Value in other cases.

| | Value |

An object from the editor’s DataSource.

| | ValueList |

A List<object> object that contains selected items.

Enables the multiple item selection.

| | CSVString |

A String object that contains DisplayMember property values of selected items separated by the SeparatorChar followed by the space character.

Enables the multiple item selection.

|

Remarks

Refer to the following help topic for more information: LookUpEdit - Multiple Item Selection.

See Also

RepositoryItemLookUpEdit Class

RepositoryItemLookUpEdit Members

DevExpress.XtraEditors.Repository Namespace