Bewerken

Delen via


VirtualizingStackPanel.PageRight Method

Definition

Scrolls content to the right by one page.

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

Implements

Remarks

You can override PageRight in a derived class to change how the stack panel responds to the page right 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