TextBoxBase.PageRight 方法

定義

以一頁為單位向右捲動控制項的內容。Scrolls the contents of the control to the right by one page.

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

範例

下列範例示範如何使用 PageRight 方法來滾動 TextBox 控制項的內容。The following example demonstrates how to use the PageRight method to scroll the contents of a TextBox control.

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

適用於

另請參閱