Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

VirtualizingStackPanel.PageUp Method

Definition

Namespace:
System.Windows.Controls
Assembly:
PresentationFramework.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?