Jesse Joseph Jesse Joseph - 1 year ago 71 Question

How to add devexpress xtragird's repository lookup edit item into dictionary

Dim dictRepositoryItem as new Dictionary(of Datatable, of gridcontrol.repository itemlookupedit)


Answer Source

You need to use the correct type in the dictionary.

Dim dictRepositoryItem As New Dictionary(Of DataTable, DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit)
dictRepositoryItem.Add(Datatable1, repositoryitemlookupedit1)