Back to Devexpress

LookUpEdit.GetSelectedDataRows() Method

windowsforms-devexpress-dot-xtraeditors-dot-lookupedit-4eaabab9.md

latest1.9 KB
Original Source

LookUpEdit.GetSelectedDataRows() Method

Returns data source records associated with the current selection.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public object GetSelectedDataRows()
vb
Public Function GetSelectedDataRows As Object

Returns

TypeDescription
Object

Data source records associated with the current selection.

|

Remarks

In multiple selection mode, the GetSelectedDataRows method behaves as follows:

  • Returns data source records associated with the current selection if the EditValueType is set to LookUpEditValueType.ValueList.

  • Returns null ( Nothing in Visual Basic) if the EditValueType is set to LookUpEditValueType.CSVString.

If multiple selection is disabled, GetSelectedDataRows returns a list that contains a single record that matches the currently selected item.

See Also

GetSelectedDataRow()

LookUpEdit Class

LookUpEdit Members

DevExpress.XtraEditors Namespace