RichTextBox for WinRT
Creating 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 an AppBar application.

For a complete sample that covers more functions like inserting tables, hyperlinks, and images, please refer to the CustomContextMenu sample included with the UWP/WinRT Edition samples:

C:\Users\YourUserName\Documents\ComponentOne Samples\WinRT XAML Phone\C1.Xaml.RichTextBox\CS\RichTextBoxSamples

The following code snippets assume the name of the C1RichTextBox control on your page is rtb.

See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback