Ribbon.OnPreviewMouseWheel(MouseWheelEventArgs) Method

Definition

Provides class handling for the MouseWheel event.

C#
protected override void OnPreviewMouseWheel(System.Windows.Input.MouseWheelEventArgs e);

Parameters

e
MouseWheelEventArgs

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

Produkt Verzie
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10