In the previous step you created a new Universal Windows application, set the application up, and added the control to the application. In this step you'll customize the application further.
Complete the following steps:
Visual Basic |
Copy Code
|
---|---|
Imports C1.Xaml.RichTextBox
|
C# |
Copy Code
|
---|---|
using C1.Xaml.RichTextBox;
|
Visual Basic |
Copy Code
|
---|---|
Me.C1RTB.FontSize = 24 Me.C1RTB.Text = "Hello World! Welcome to the most complete rich text editor available for UWP Edition. Load, edit, and save formatted text as HTML or RTF documents with RichTextBox for UWP Edition. The C1RichTextBox control provides rich formatting, automatic line wrapping, HTML and RTF import/export, table support, images, annotations, and more." |
C# |
Copy Code
|
---|---|
this.C1RTB.FontSize = 24; this.C1RTB.Text = "Hello World! Welcome to the most complete rich text editor available for UWP Edition. Load, edit, and save formatted text as HTML or RTF documents with RichTextBox for UWP Edition. The C1RichTextBox control provides rich formatting, automatic line wrapping, HTML and RTF import/export, table support, images, annotations, and more."; |
This code adds content to the C1RichTextBox control.
What You've Accomplished
In this step you added content to your C1RichTextBox application, now all that's left is to run it. In the next step you'll run the application and view some of the run-time interactions possible with the C1RichTextBox control.