TextBoxBase.PageUp 方法

定義

以一頁為單位向上捲動控制項的內容。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

適用於

另請參閱