TextBoxBase.LineUp 方法

定义

将控件的内容向上滚动一行。

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

示例

以下示例演示如何使用 LineUp 方法来滚动控件的内容 TextBox

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

适用于

另请参阅