title: How to get whether richtextbox last word is BringIntoView(shown) or not in WPF?
body: <p>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.</p>
  
  <pre><code> FrameworkContentElement fce = (startPos.Parent as FrameworkContentElement);
              if (fce != null)
              {
                  fce.BringIntoView();
              }
  </code></pre>
  
  <p>But i want to display the bottom border,once the last word shown in that richtextbox.How to achieve this?</p>
  
  <p><strong>Note:</strong> I already known how to show bottom border dynamically.but i want to know last word are displayed within the richtextbox or not?</p>
  
  <p>Regards
  Arjun</p>