TextBoxBase.LineUp TextBoxBase.LineUp TextBoxBase.LineUp TextBoxBase.LineUp Method

定义

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

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

示例

下面的示例演示如何使用LineUp方法滚动TextBox控件的内容。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

适用于

另请参阅