Are you expecting that the strings you're going to search for will be short and in a single paragraph?
This functionality is currently not available in the library and I logged it in our backlog for future consideration: Implement Find (Search) Functionality
. You could, however, enumerate the Run elements in all paragraphs and append their text together. This will allow you to implement a text-based search and find the paragraph a particular string is in.
Here is a simple example showing what I have in mind.
Paragraph FindparagraphContainingText(RadFlowDocument document,
StringBuilder paragraphText =
Run run = inline
text = paragraphText.ToString();
I hope this helps.
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal
and vote to affect the priority of the items