HTML Capability of RichTextBox WinForms Control
KetticRichTextBox WinForms control is capable of editing rich text for HTML. The HtmlFormatProvider allows the users to import and export content of KetticRichTextBox to or from HTML, whereas, there are some limitations to support the HTML completely for the complex HTML standards. The HtmlFormatProvider cannot handle some heavily mistakes of parsing in HTML tags and cannot parse the HTML content correctly absolutely. However, if we import valid XHTML content, we can get the best results when handling the content of KetticRichTextBox.
Import from HTML document to KetticRichTextBox
KetticRichTextBox WinForms control provide the HtmlFormatProvider to import an HTML document and parse the text content, and then convert the HTML to KetticDocument. The HtmlFormatProvider mainly import content and styling from the HTML document. Supported HTML elements in Content
KetticRichTextBox control divides the HTML content to a few elements of KetticDocument, including paragraphs, spans and tables. The supported paragraphs tags include
Supported Styles of Classes and Inline
KetticRichTextBox control supports the styling via the CSS styles of classes or inline and a variety of HTML tags. It also supports the <font> tag, whose valid attributes including, face, size, and color, for styling. The following are the supported tags used to format the content.
Apart from the HTML formatting tags, the KetticRichTextBox control also support a variety of CSS properties, including,
Export to HTML document to KetticRichTextBox
The HtmlFormatProvider export content to HTML through the KetticDpcument tree and create HTML nodes. This format provider creates valid XHTML document to preserve the formatting as much as possible. The styles are also exported and the HTML document resembles the entire styles of paragraphs and spans in the KetticDocument as much as possible. |
UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlGet Started in C#RichTextBox - SettingsDocument ElementsContentsSectionParagraphSpanHyperlinkInline ImageTableBookmarksRichTextBox - FeaturesLayout ModesSelectionSearchPositionRead OnlyFormat APIImport & ExportImport & Export - SettingsHTML SupportSpell CheckKeyboard SupportWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |