# Custom Command Bars

## Content



You can create your own custom toolbar, context menu, or pop-up controls that apply formatting and functionality to the [C1RichTextBox](/componentone/api/wpf/online-richtextbox/dotnet-api/C1.WPF.RichTextBox/C1.WPF.RichTextBox.C1RichTextBox.html) 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**.

## See Also

[Clipboard Functions](/componentone/docs/wpf/online-richtextbox/Working_with_RichTextBox_for_WPF/Custom_Command_Bars/Clipboard_Functions)

[Alignment Functions](/componentone/docs/wpf/online-richtextbox/Working_with_RichTextBox_for_WPF/Custom_Command_Bars/Alignment_Functions)

[Font Functions](/componentone/docs/wpf/online-richtextbox/Working_with_RichTextBox_for_WPF/Custom_Command_Bars/Font_Functions)

[Formatting Functions](/componentone/docs/wpf/online-richtextbox/Working_with_RichTextBox_for_WPF/Custom_Command_Bars/Formatting_Functions)

[Select Text Function](/componentone/docs/wpf/online-richtextbox/Working_with_RichTextBox_for_WPF/Custom_Command_Bars/Select_Text_Function)

[Document History Functions](/componentone/docs/wpf/online-richtextbox/Working_with_RichTextBox_for_WPF/Custom_Command_Bars/Document_History_Functions)