-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Labels
Description
Feature Suggestion
Feature Description: To change the mouse and keyboard keys for panning, zooming, etc., for Actions in Plot Viewer in WPF, I had to create a class from the IPLotInteraction interface and change it based on my needs. However, I think in some cases, users need to assign a key combination to these plot actions. For example, I prefer to pan the axis while the space key is being held and dragged with the mouse's middle button.
Code example: If applicable, use this space to demonstrate how you wish the new feature could be used in code.
public InputBindings Inputs = new InputBindings()
{
DragPanButton = MouseButton.Middle+KeyBoardKeys.Space.Holding,
DragZoomRectangleButton = MouseButton.Right,
DragZoomButton = MouseButton.Middle+KeyBoardKeys.Alt.Holding,
ClickAutoAxisButton = MouseButton.Middle,
ClickContextMenuButton = MouseButton.Unknown,
DoubleClickButton = MouseButton.Left,
ZoomInWheelDirection = MouseWheelDirection.Up,
ZoomOutWheelDirection = MouseWheelDirection.Down,
LockHorizontalAxisKey = Key.Shift,
LockVerticalAxisKey = Key.Ctrl,
PanZoomRectangleKey = Key.Alt,
};Reactions are currently unavailable