แก้ไข

แชร์ผ่าน


TextBoxBase.LineUp Method

Definition

Scrolls the contents of the control upward by one line.

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

Examples

The following example demonstrates how to use the LineUp method to scroll the contents of a TextBox control.

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

Applies to

See also