Im trying to add a custom item to the Context Menu following the example using the Q1 Beta of WinForms
This doesnt add the "Custom Data Operation" to the context menu :(
This doesnt add the "Custom Data Operation" to the context menu :(
Private Sub radGridView1_ContextMenuOpening(ByVal sender As Object, ByVal e As ContextMenuOpeningEventArgs) |
Dim customMenuItem As RadMenuItem = New RadMenuItem() |
customMenuItem.Text = "Custom Data Operation" |
Dim separator As RadMenuSeparatorItem = New RadMenuSeparatorItem() |
e.ContextMenu.Items.Add(separator) |
e.ContextMenu.Items.Add(customMenuItem) |
End Sub |