Redigera

Dela via


TextBoxBase.LineRight Method

Definition

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 ()

Examples

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

Applies to

See also