WPF & Silverlight Controls
Step by Step

Tutorials, video, and code to make
your XAML development easier
and more productive!
Skip Navigation LinksProducts > XAML > XAMLflix > RichTextBox
Get started on the right foot Download Silverlight and / or Download WPF

Tutorials, videos, and code

What is XAMLflix?

XAMLflix is your step-by-step guide to getting started with RadControls for Silverlight & WPF. Make your XAML development easier and more productive with this library of video tutorials covering the controls in the suite.

Silverlight & WPF

Say Hello to RadRichTextBox

RadRichTextBox offers broad editing and formatting capabilities that come with unmatched performance. It provides a MS Word-like editing experience along with support for importing & exporting many different file formats including .docx, .html, .rtf, .xaml and .txt.

Getting Started with RadRichTextBox

In this video, we will dive into Visual Studio 2010 and begin with File -> New Project and discover what RadRichTextBox has to offer. With RadRichTextBox, you are able to display and edit rich-text content including formatted text arranged in pages, paragraphs, spans (runs), tables, etc...

Download the project

Implementing RadRichTextBox with the Built-in Wizard

In this video, we will see how easy it is to setup and start using RadRichTextBox by utilizing the built-in wizard. The brand new wizard allows you to quickly and easily setup RadRichTextBox in full word processing mode, to simply display text, or anywhere in-between, complete with configuration options to choose ribbon items, add-ons like the ruler and status bar, and features like spell-checking.

Download the project

Exporting/Importing the contents of RadRichTextBox

RadRichTextBox allows you to export and import its content. This is useful in case you want to save the user's input into a data base and then load it from there, or if you want to save/load the content of RadRichTextBox to/from a file.

Download the project

Searching and Replacing Text

RadRichTextBox supports searching the contents of the document along with providing some methods for manipulating the selection. Used in combination, they become quite a powerful tool enabling scenarios like highlighting of specific parts of the document or replacing words and collocations.

Download the project

Customizing the ContextMenu

The ContextMenu is showed on right click over RadRichTextBox, and contains some context specific commands arranged in groups. We explore the Context Menu built into RadRichTextBox and add an extra command to the menu that the user can select.

Download the project

Working with Styles

RadRichTextBox supports Styles similar to the ones in Microsoft Office. Styles can be created and added to a document programmatically or via the ManageStylesDialog. In this video, we walk you through adding custom styles to the RadRichTextBox control.

Download the project

Using the Mail Merge Feature

In this video, we will walk you through setting up a Mail Merge with a predefined business letter. We will setup several fields found in a typical mail merge and review the generated word document.

Download the project