The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
STstanleyj Syncfusion Team December 14, 2005 03:35 PM UTC
Hi,
See if some code like this helps for your down button, then you may try similar logic for the up button.
int newline = this.richTextBox1.Text.IndexOf("", this.richTextBox1.SelectionStart);
this.richTextBox1.Focus();
if(newline < 0)
this.richTextBox1.SelectionStart = this.richTextBox1.Text.Length;
else
this.richTextBox1.SelectionStart = newline+1;
Regards,
Stanley