Hello,
How i can set the drag event to mouse right click?
Thank you
1 Answer, 1 is accepted
0
Bobi
Telerik team
answered on 10 May 2010, 12:10 PM
Hello masha reznik,
I am not sure if I understood you correctly. I suppose that you want to perform some DragDrop functionality using MouseRightButtonClick. If so the you can try the following:
public Window1()
{
InitializeComponent();
this.AddHandler(FrameworkElement.MouseRightButtonDownEvent, new MouseButtonEventHandler(Window1_MouseRightButtonDown), true);
}
....
private void Window1_MouseRightButtonDown(object sender, MouseButtonEventArgs e)
{
//StartDrag or some other custom logic here....
RadDragAndDropManager.CancelDrag();
}
I hope that this will help you. Please let us know if you have any other questions or need some more help.
Regards,
Bobi
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.