.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

ISyntaxHighlightService Interface

Enables you to implement the text highlighting functionality.

Namespace: DevExpress.XtraRichEdit.Services

Assembly: DevExpress.RichEdit.v19.1.Core.dll


public interface ISyntaxHighlightService


Use the service substitution technique to register your service implementing the ISyntaxHighlightService.Execute and ISyntaxHighlightService.ForceExecute() methods. These methods are called when the text content of the RichEditControl is modified.


A complete code sample project is available at How to create Syntax Highlight Tokens to implement T-SQL language syntax highlighting repository on GitHub.

See Also