TextBoxBase.LineLeft TextBoxBase.LineLeft TextBoxBase.LineLeft TextBoxBase.LineLeft Method

定义

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

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

示例

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

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

适用于

另请参阅