private
void
radListBox1_MouseDown(
object
sender, MouseEventArgs e)
{
if
(e.Button == MouseButtons.Right)
{
RadElement clickedItem = radListControl2.ElementTree.GetElementAtPoint(e.Location)
as
RadElement;
if
(clickedItem !=
null
)
{
RadListBoxItem dataItem = clickedItem
as
RadListBoxItem;
MessageBox.Show(
"Right Clicked "
+ dataItem.Text);
}
}
}