Editar

Partilhar via


VirtualizingStackPanel.PageUp Method

Definition

Scrolls content upward by one page.

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

Implements

Remarks

You can override PageUp in a derived class to change how the stack panel responds to the page up action.

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

Applies to