.NET Framework Developer Center > .NET Development Forums > Windows Presentation Foundation (WPF) > Controlling RichTextBox Text length and put extra characters inside some control
Ask a questionAsk a question
 

AnswerControlling RichTextBox Text length and put extra characters inside some control

  • Thursday, October 22, 2009 10:29 PMEliezer Reis Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    I have to implement something that, when user type more that 40 characters any others characters over have to be inside some control (example rectangle) or make squiggles under these extras characters. Anyone know how can I do It?

    Thanks

Answers

  • Monday, October 26, 2009 11:53 AMEliezer Reis Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi,

    Well, I posted above what exactly I want. What I want is: When user enter more that maxlength property that I customized on my richtextbox so I'd like to draw a border around all the property exceeds maxlength. Take a look on this image bellow that you will understand.
    Do you know how can i do it or something similary?




    You see the area called Copyfit? I wanna do this.

    Anything to resolve this problem will be helpfull. Thanks
    • Marked As Answer byEliezer Reis Friday, November 06, 2009 12:10 AM
    •  

All Replies