Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

prevent zoom undo in wpf graph

Solved!
Go to solution

Right-click on WPF graph undoes last zoom/pan action. I want to prevent that. Following didn't help:

 

    private void graph_MouseRightButtonUp(object sender, MouseButtonEventArgs e)
    {
      e.Handled = true;
    }
0 Kudos
Message 1 of 4
(6,639 Views)
Solution
Accepted by topic author eugenem

Hello eugenem,

 

Please take a look to this forum. Take a look to the response, it seems like this is what you need.

 

Chris S.

Chris S.
0 Kudos
Message 2 of 4
(6,572 Views)

thanks, of course needed to use Preview event

0 Kudos
Message 3 of 4
(6,529 Views)

Just wanted to let you know that the WPF graphs now use Shift+Right-click for Undo like the Windows Forms graphs in the Measurement Studio 2015 release.

~ Paul H
0 Kudos
Message 4 of 4
(4,831 Views)