Well, after trying different possible solutions i got it right. Problem solved.
Here is the resumed solution. I'll post an article later with a complete solution and explanations of creating custom datagridviewcolumn.
In the column class declare items property as:
Private It As New ObjectModel.Collection(Of String)
<category("data"),> _
<designerserializationvisibility(designerserializationvisibility.content)> _
Public ReadOnly Property DefaultItems() As ObjectModel.Collection(Of String)
Get
Return It
End Get
End Property
In the cell class declare items property as:
Private It As New ObjectModel.Collection(Of String)
<designerserializationvisibility(designerserializationvisibility.content)> _
Public ReadOnly Property Items() As ObjectModel.Collection(Of String)
Get
If It.Count = 0 Then
Dim col As CBColumn
col = CType(Me.OwningColumn, CBColumn)
It.Clear()
For Each i As String In col.DefaultItems
It.Add(i)
Next
End If
Return It
End Get
End Property
Items property in cell class will allow to set different items for each cell if you wish so.
in the initializeeditingcontrol procedure insert the following code to add items to the combobox items of editingcontrol:
CbEdCtrl.Items.Clear()
For Each i As String In Me.Items
CbEdCtrl.Items.Add(i)
Next
And that is all is needed.
by default all cells contains defaultitems assign to DefaultItems of CBColumn.
to change items, just need to insert following code on the application that is being written:
Dim cel As SoftWakeControls.CBCell
cel = CType(DataGridView1.CurrentCell, SoftWakeControls.CBCell)
cel.Items.Add("New item")
And that's all. Thank for your help