WPF InputBinding Ctrl+MWheelUp/Down Possible?
问题 Is there a way I can bind a Command to Ctrl+MWheelUp/Down ? U know in a browser, you can do the same to increase/decrease font size? I want to replicate that effect in WPF. Possible? I was looking at InputBinding > MouseBindings and MouseAction does not seem to support Mouse Scrolls. * I seem to have posted a similar question, but can't find it anymore 回答1: It can be done using very simple custom MouseGesture: public enum MouseWheelDirection { Up, Down} class MouseWheelGesture:MouseGesture {