I already used the below code. It moves current caret position in viewport top.
FrameworkContentElement fce = (tpNextLine2.Parent as FrameworkContentElement);
if (fce != null)
{
fce.BringIntoView();
}
I want to move current caretposition textpointer in richtextbox viewport end using WPF.
How can I achieve this?