Working with RichTextBox for WPF and Silverlight > Custom Command Bars |
You can create your own custom toolbar, context menu, or pop-up controls that apply formatting and functionality to the C1RichTextBox control. The following section describes the code necessary to perform the most basic formatting commands. It does not include code for setting up a toolbar or an AppBar.
The following code snippets assume the name of the C1RichTextBox control on your page is rtb.