Hi!
I need to close the tabs of the Docking panel with the middle mouse button. It's working in the same way in VS2010 for example.
Is this possible? I searched in the documentation and I found that there is a Mouse static class that may help. I tried to use it but the Middle Button doesn't fire any event. This is the code I'm using:
Please notice that with this code the Handler is correctly called when I use left and right mouse buttons...
I need to close the tabs of the Docking panel with the middle mouse button. It's working in the same way in VS2010 for example.
Is this possible? I searched in the documentation and I found that there is a Mouse static class that may help. I tried to use it but the Middle Button doesn't fire any event. This is the code I'm using:
RadPane pane = new RadPane { CanUserClose = true, Content = indicator };
Telerik.Windows.Input.Mouse.AddMouseDownHandler(pane, new EventHandler<
Telerik.Windows.Input.MouseButtonEventArgs
>(OnMiddleMouseDown));
Please notice that with this code the Handler is correctly called when I use left and right mouse buttons...