or
radComboBox_1.BackColor = Color.Yellow;
EdMsk_A3.BackColor = Color.Yellow;
I need a control that is like the normal windows combobox, except
that for each item in the list the color for the background an forecolor differs, e.g.
Each Item has the same size (width, height)
ITEM 0 backcolour=red, forecolor=white
---------
ITEM 1 backcolor=black forecolor=white
---------
ITEM 2 backcolor=blue, forecolour=white
---------
ITEM 3 backcolor=green, forecolour=black
Thank you very much for the help.
Private Sub RadPanelBar1_MouseDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles RadPanelBar1.MouseDown
Try
If e.Button = Windows.Forms.MouseButtons.Right Then
RadMessageBox.Show("Right click not allowed.")
Exit Sub
End If
Catch ex As Exception
RadMessageBox.Show(ex.ToString)
End Try
End Sub