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

适用于

另请参阅