Ribbon.OnPreviewMouseWheel(MouseWheelEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides class handling for the MouseWheel event.
protected:
override void OnPreviewMouseWheel(System::Windows::Input::MouseWheelEventArgs ^ e);
protected override void OnPreviewMouseWheel (System.Windows.Input.MouseWheelEventArgs e);
override this.OnPreviewMouseWheel : System.Windows.Input.MouseWheelEventArgs -> unit
Protected Overrides Sub OnPreviewMouseWheel (e As MouseWheelEventArgs)
Parameters
The event data.
Remarks
Spinning the mouse wheel while the mouse pointer is over the Ribbon causes the Ribbon to switch between tabs.
This implementation marks the MouseWheel event as handled by setting the Handled property of the event data to true
.
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.