RichTextBox Document Elements Hierarchy in C#.NET
KetticRichTextBox WinForms control offers the ability of integrating advanced text editing into your applications and deliver the best and rich text editing options to your customers. The Rich Text Box control provides rich text formatting options, including bold, italic, underline, and text color etc., mail-merge and a variety of end-user options collection to edit the text content. It is able to arrange the formatted text in pages, paragraphs, and more.
Element Hierarchy of KetticRichTextBox
To build the rich text content manually for your Windows Forms application using the KetticRichTextBox control, we should be familiar with the element hierarchy of KetticRichTextBox. The following diagram demonstrates the details. To get more information, we can see these resources.
C# Customize Contents of KetticDocument in RichTextBox
In the elements hierarchy of KetticRichTextBox, the KetticDocument is the root in the content of KetticRichTextBox. By using the KetticDocument element, the users can customize the style and appearance of the entire child elements. The KetticDocument contains one section in the document and declare all sections merged into one.
Sections of KetticDocument in RichTextBox in C#.NET
KetticRichTextBox control for Windows Forms provides the Section C# class for the users to separate the content of KetticDocument into sections. The sections are able to be shown on a single page or various different pages. The KetticDocument contains one section in the document and declare all sections merged into one.
Paragraph of KetticDocument in RichTextBox in C#.NET
KetticRichTextBox control contains the paragraph C# class for the users to separate the content of KetticDocument into paragraphs. The paragraphs are used to display the inline elements, including Span, HyperlinkRangeStart, HyperlinkRangeEnd, InlineImage, and more. The paragraph C# class provides various parameters for the users to customize the appearance of the paragraph in KetticDocument.
Customize Span for KetticDocument in RichTextBox in C#.NET
The Span C# class of the KetticRichTextBox is used to show the formatted text. This span class is an inline object and can only be used in the context underneath the Paragraph C# class. The Span elements will be placed one after another and will wrap the text within the span to the next line when the space of current line is insufficient. The Span C# class provides various properties for the users to customize the layout of the elements.
Customize Hyperlinks in Contents of KetticDocument for KetticRichTextBox
KetticRichTextBox control allows the users to insert and customize the hyperlinks in contents of KetticDocument. It provides the hyperlinks functionality in C# classes of HyperlinkInfo, HyperlinkRangeStart, and HyperlinkRangeEnd. The HyperlinkInfo are the objects that allow the users to insert links to the KetticControls for Windows Forms. The HyperlinkRangeStart and HyperlinkRangeEnd are Inline DocumentElements, which are able to be added to the inlines inside a document. In addition, this control allows the users to set the tool tip format of hyperlinks.
InlineImage of KetticDocument in RichTextBox in C#.NET
KetticRichTextBox control provides the inline element, InlineImage, for the users to insert and display images in the document. The InlineImage C# class can only be used in the context of a paragraph. This element is placed after the previous inline element until the end of the lines and will wrap the line as there is insufficient space.
UI Controlsfor Windows Forms.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls