Skip to main content
.NET Framework Class Library
StackPanelMouseWheelUp Method

Scrolls content logically upward in response to a click of the mouse wheel button.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
Syntax
Public Sub MouseWheelUp
public void MouseWheelUp()
public:
virtual void MouseWheelUp() sealed
abstract MouseWheelUp : unit -> unit  
override MouseWheelUp : unit -> unit
public final function MouseWheelUp()

Implements

IScrollInfoMouseWheelUp
Remarks

If you require physical scrolling instead of logical scrolling, wrap the StackPanel in a ScrollViewer and set its CanContentScroll property to false.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1