locked
Search and Select text in RichTextBlock

    Question

  • Hello.

    I make fb2reader and i have next task:

    I need to find and select text in RichTextBlock.

    Yes, i can get text (string ) from RTB and find query text in allText. But how i can select query text??

    Position of occurrence of a substring in a string does not match with the property Offset of TextPointer.

    if you know the answer, please give some sample code. 

    Wednesday, October 08, 2014 4:07 PM

Answers