WPF RichTextBox Key Features
In This Topic
RichTextBox for WPF allows you to create customized, rich applications. Make the most of RichTextBox for WPF by taking advantage of the following key features:
- Import and Export Formats
RichTextBox for WPF supports importing and exporting RTF, HTML, and plain text. Load existing rich text or HTML into the control, edit the document, and then export it back to RTF or HTML.
- Apply Rich Formatting
Edit and format text containing multiple fonts, decorations, colors, tables, images, lists, and more.
- Language Support
C1RichTextBox now supports input in Chinese, Japanese, and Korean languages.
- C1RichTextBoxToolbar
Get started immediately with the full-featured C1RichTextBoxToolbar control, or build your own custom toolbar. The included actions are: Font Family, Font Size, Grow Font, Shrink Font, Bold, Italic, Underline, Change Case, Subscript, Superscript, Text Color, Text Highlight Color, Align Left, Align Center, Align Right, Justify, Bullets, Numbering, Text Wrapping, Border Thickness, Border Color, Paragraph Color, Margin, Padding, Insert Image, Insert Symbol, Insert Hyperlink, Remove Hyperlink, Cut, Copy, Paste, Undo, Redo, Find and Replace, and Spell Check. The RichTextBoxToolbar uses the C1Toolbar control enabling complete customization. See the Working with C1RichTextBoxToolbar topics for more information.
- Page Zooming
RichTextBox supports page zooming in both print layout and draft views.
-
Spell-check Your Text
RichTextBox supports two types of spell-checking using the C1SpellChecker component:
- Modal spell checking: Shows a Spell dialog box and selects each spelling mistake in the document. The end-user may choose to ignore the mistake, fix it by typing or picking from a list of suggestions, or add the word to a user dictionary. See the Modal Spell-Checking topic for more information.
- As-you-type checking: Highlights spelling mistakes as the end-user types, typically with a wavy, red underline. The end-user may right-click the mistake in the document to see a menu with options that include options to ignore, add to dictionary, or pick a suggestion to correct the mistake automatically.
See the Spell-Checking topic for more information.
- Undo/Redo Support
Edit data in the RichTextBox with confidence. You have the ability to easily undo and redo your changes with the click of a button.
- Clipboard Support
C1RichTextBox fully supports the clipboard. Implement cut/copy/paste activities within the RichTextBox.
- Annotations
Add highlights and annotations to your documents with C1RichTextBox. Annotations are comments, notes, remarks or explanations that can be attached to specific part of a Web document.
- Save as PDF
In addition to direct printing, The C1RichTextBox content can be exported to PDF format.
- Rich Document Object Model
Patterned after the Document class in WPF, RichTextBox's rich document object model (DOM) supports images, lists, hyperlinks, borders, background and foreground colors for text ranges, and more. Use the rich DOM to create and modify documents programmatically. See the Working with the C1Document Object topic for more information.
- Lightning-speed Performance
RichTextBox allows instantaneous editing and really fast document loading.
- RichTextBox Ribbon and RichTextBox ToolStrip
RichTextBox provides the C1.WPF.RichTextBox.Ribbon assembly for ribbon and toolstrip support in .NET edition. So, now users can add customize the look of RichTextBox and add more tools with the help of ribbon and toolstrip UI. For .NET Framework users, RichTextBox provides C1RichTextBoxToolbar and C1SimplifiedRichTextBoxToolbar.