TextBoxBase.LineRight TextBoxBase.LineRight TextBoxBase.LineRight TextBoxBase.LineRight Method

定义

将控件的内容向右滚动一行。Scrolls the contents of the control to the right by one line.

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

示例

下面的示例演示如何使用LineRight方法滚动TextBox控件的内容。The following example demonstrates how to use the LineRight method to scroll the contents of a TextBox control.

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

适用于

另请参阅