MouseWheelUp Method

VirtualizingStackPanel.MouseWheelUp Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Scrolls content logically upward.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

public virtual void MouseWheelUp()

Implements

IScrollInfo.MouseWheelUp()

You can override MouseWheelUp in a derived class to change how the stack panel responds.

If you require physical scrolling instead of logical scrolling, wrap the VirtualizingStackPanel in a ScrollViewer and set its CanVerticallyScroll or CanHorizontallyScroll property to false. In this case, the ScrollViewer provides scrolling, and virtualization is disabled.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft