RichTextBox for Silverlight Samples > SyntaxHighlight Sample |
The SyntaxHighlight sample is installed in the C1.Silverlight.RichTextBox\SyntaxHighlight folder in the samples directory.
This sample shows how to use the C1RichTextBox control in the C1.Silverlight.RichTextBox.dll assembly and shows how to use C1RichTextBox to implement an editor with syntax highlighting. This sample demonstrates the StyleOverride feature of C1RichTextBox to implement a syntax highlighted editor with great performance. The StyleOverride feature allows easy and fast styling of sections of a document, without modifying it. Multiple layers of style overrides can be used to display different information, like syntax highlighting or spell checking.