title: Get RepositoryItem (As Control) From Devexpress-GridviewCell
body: <p>I'm using the <code>devexpress Gridcontrol/Gridview</code> which has 4 columns</p>
  
  <pre><code>Name: String
  Description: String
  Action: RepositoryItemLookUpEdit
  Info: RepositoryItemHyperLinkEdit
  </code></pre>
  
  <p>Right now i want to write a function which <code>updates</code> the <code>Action-column</code> but only if the <code>Value</code> is contained in the <code>datasource</code> of the <code>RepositoryItemLookUpEdit</code></p>
  
  <p>So i started writing the code and this is how i far i got:</p>
  
  <pre><code>For i As Integer = 0 To GridViewDD.RowCount - 1
      Dim j As Integer = i
      Dim rItemlookup As RepositoryItemLookUpEdit = CType(GridViewDD.GetRow(i), DataRowView).Item("Actions")
      If CType(rItemlookup.DataSource, List(Of String)).Contains(curraction) Then
           // Do update of the datasource here (which works)
      End If
  Next
  
  GridControlDD.RefreshDataSource()
  </code></pre>
  
  <p>My problem lies at the line:</p>
  
  <pre><code>Dim rItemlookup As RepositoryItemLookUpEdit = CType(GridViewDD.GetRow(i), DataRowView).Item("Actions")
  </code></pre>
  
  <p><strong>Question:</strong>
  How can i get the RepositoryItemLookUpEdit of a cell in devexpress (or its datasource)?</p>
  
  <p><strong>Note:</strong>
  The datasource of my gridview (<code>GridViewDD</code>) is a <code>List</code> And my datasource of the <code>RepositoryItemLookUpEdit</code> in <code>Action</code> is always a <code>List(Of String)</code></p>
  
  <p><strong>Note 2:</strong>
  The <code>contents</code> of my <code>datasource may vary</code> from row to row</p>