語言

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

適用於

另請參閱