Modifier

Partager via


StackPanel.MouseWheelUp Method

Definition

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

public:
 virtual void MouseWheelUp();
public void MouseWheelUp ();
abstract member MouseWheelUp : unit -> unit
override this.MouseWheelUp : unit -> unit
Public Sub MouseWheelUp ()

Implements

Remarks

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

Applies to