1 Pluspunkt 0 Minuspunkte
Wie kann ich eine TextBox in .NET automatisch immer ganz nach unten scrollen?
von  

1 Antwort

0 Pluspunkte 0 Minuspunkte

Um eine TextBox in .NET automatisch nach unten zu scrollen, kannst du die SelectionStart Eigenschaft in Kombination mit der SelectionLength Eigenschaft verwenden.

textBox.SelectionStart = textBox.TextLength;
textBox.ScrollToCaret();

von (532 Punkte)