編輯

共用方式為


TextBoxBase.PageUp Method

Definition

Scrolls the contents of the control up by one page.

public:
 void PageUp();
public void PageUp ();
member this.PageUp : unit -> unit
Public Sub PageUp ()

Examples

The following example demonstrates how to use the PageUp method to scroll the contents of a TextBox control.

private void pageUp(object sender, RoutedEventArgs e)
{
    myTextBox.PageUp();
}
Private Sub pageUp(ByVal sender As Object, ByVal e As RoutedEventArgs)
    myTextBox.PageUp()
End Sub

Applies to

See also