TextBoxBase.PageUp TextBoxBase.PageUp TextBoxBase.PageUp TextBoxBase.PageUp Method

定义

将控件的内容向上滚动一页。Scrolls the contents of the control up by one page.

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

示例

下面的示例演示如何使用PageUp方法滚动TextBox控件的内容。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

适用于

另请参阅