Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to highlight all found word entries in a document

$
0
0

At the moment. a RichEditControl highlights only the currently found entry. This example demonstrates how  to highlight all the found entries. The main idea is to use the custom marks feature. A custom mark is added for each found entry and drawn by the DevExpress.XtraRichEdit.RichEditControl.CustomMarkDraw event.

To manage highlighting when searching is performed using the SearchForm form - a custom SearchForm is created.  


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>