Back to Devexpress

ISyntaxHighlightService Interface

officefileapi-devexpress-dot-xtrarichedit-dot-services-cf7e8e58.md

latest1.6 KB
Original Source

ISyntaxHighlightService Interface

Enables you to implement the text highlighting functionality.

Namespace : DevExpress.XtraRichEdit.Services

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[ComVisible(true)]
public interface ISyntaxHighlightService
vb
<ComVisible(True)>
Public Interface ISyntaxHighlightService

Remarks

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.

View Example

See Also

ISyntaxHighlightService Members

How to: Highlight Document Syntax

DevExpress.XtraRichEdit.Services Namespace