Progress Telerik UI for WPF
The Telerik UI for WPF SyntaxEditor control is a powerful text editor that provides syntax highlighting and code editing experience in your WPF applications. It brings in built-in support for popular programming languages as well as enables creation of your own highlighting rules of keywords and operators. All this is complimented by a great code editing experience with all the features one might expect from an IDE code editor control such as editing, find and replace, undo and redo, zooming and line numbers, keyboard shortcuts and many more.
The syntax highlighting engine allows for defining how keywords, comments, regions, operators, preprocessors and literals will appear in the code editor. In addition, you can implement your own highlighting options for existing languages or your own custom language.
RadSyntaxEditor comes with a handful of built-in syntax highlighters for the most popular languages – C#, VB, JS, XML, XAML, HTML, SQL. Support for custom programming languages is also in place.
Code Outlining (aka folding regions) displays the code in the editor in a tree-like structure and allows for collapsing and expanding of these regions for better readability. The outlining rules for the built-in languages are already in place, as well as the needed extensibility points in case you need to amend these rules or implement outlining for your own language.
The syntax editor has a built-in Find and Replace dialog that allows users to quickly navigate the document or replace certain parts of it. In addition, there is a convenient API to do all these manipulations in code.
Easily implement auto completion for code editing (aka InteliSense), when the user enters a certain string, the control will show a popup with predefined options available.
Overload lists are useful to show contextual information for method overload options in code.
Selection is a crucial part of any editor and this bolstered API for programmatic selection and multiple convenient keyboard shortcuts makes the editing experience flawless.
Enable end users to easily zoom in and out for better code readability or load up a document with a predefined zoom level.
Palettes are predefined lists of colors that apply to certain elements of the syntax related words. There are four default palettes – Light, Dark, Neutral and Neutral Dark, as well as options to create your own palettes. In addition, useful guidance is available advising on which palettes work best with the wide array of themes offered.
Convenience and speed are everything for a code editor control, this is why the WPF SyntaxEditor features the most popular keyboard shortcuts for working with text editors, out of the box. In addition, support for adding custom keyboard shortcuts is also supported.
Conveniently use the control in the WPF design time surface and utilize its smart tag to set the control theme as well as to access its support resources, such as documentation, forums and demos.
Localization is vital if you need to ship your application to users with different language preferences. This can be achieved with the localization provider for localizing the control’s strings to different languages.
See UI for WPF in action.
Download 30-day free trial
With dedicated technical support.