TextBoxBase.LineUp 方法

定義

以一行為單位向上捲動控制項的內容。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

適用於

另請參閱