TextBoxBase.LineRight 方法

定義

以一行為單位向右捲動控制項的內容。Scrolls the contents of the control to the right by one line.

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

範例

下列範例示範如何使用 LineRight 方法來滾動 TextBox 控制項的內容。The following example demonstrates how to use the LineRight method to scroll the contents of a TextBox control.

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

適用於

另請參閱