How to get whether richtextbox last word is BringIntoView(shown) or not in WPF?
问题 i am working in wpf,i have a richtextbox with some contents.if the contents are exceeded to richtextbox i want to hide bottom border.if the content within the richtextbox i want to show the bottom border.Now i am using the below code to bring the exceeded content to view in richtextbox. FrameworkContentElement fce = (startPos.Parent as FrameworkContentElement); if (fce != null) { fce.BringIntoView(); } But i want to display the bottom border,once the last word shown in that richtextbox.How to