Public Properties

  Name Description
Public property BackgroundImagePath Gets or Sets the local filepath or internet URL of the Background Image.
Public property BaseUrl Gets or Sets the Base url of the Document. This is a very important property for handling relative path resources. For example, if you have many images in your html document with relative urls like <img src="myImage.jpg" /> etc, then, you can set this property to ant internet url or local file path to display that image in the editor. A very common usage of this property is to set the property programmatically when your Windows Form is loaded so that, when you ship your windows application to your user's pc, the relative resources are referenced correctly.
Public property BodyColor Gets or Sets the color of the body of the HTML Editor Control's HTML Document.
Public property BodyHtml Get or Set the editor's Document Body - Inner HTML HTML content (excluding the body tag...). You can bind this property to your dataset's any string type field which has HTML content as string.
Public property BodyStyle Gets or Sets the Value of the "Style" Attribute of the Document's Body Tag.
Public property Charset Gets or Sets the charset of the document.
Public property ConvertFileUrlToPath Gets or sets a value indicating whether the urls with file protocol should be changed to file path. If set to true, then, all of your image and other urls which looks like "file:///D:/My%20Folder/pic.jpg" will be converted to "D:\My Folder\pic.jpg".
Public property DisableEditorRightClick If Set to true, Stop the right mouse Menu
Public property DocumentHtml Gets or sets the document HTML.
Public property DocumentTitle Gets or Sets the title of the Html Document.
Public property EditorContextMenuStrip Gets or sets the ContextMenuStrip associated with this editor. If you want not to set any ContextMenuStript, the default contextmenustrip will be shown. If you do not want to show the default ContextMenu, you can set ShowDefaultContextMenu = false.
Public property EditSource Gets or Sets the edit source mode for the editor.
Public property EmailFacility This property contains usefule methods for sending the Html content to an email address where all local images will be embedded.
Public property EnterKeyResponse You can choose to get either Paragraph or LineBreak as a response of hitting the Enter Key.
Public property FactoryToolbarItems The collection holds the factory provided toolstrip items. You can use the design time collection editor for this property to change the order of the toolbar items or swap the items from tollbar 1 to toolbar 2 or vice versa. You can also change any properties of the toolbar items from the design time collection editor from the property browser (Visual Studio).
Public property Focused Overridden. Gets a value indicating whether the editor has input focus.
Public property HtmlElements Gets the collection of all Html elements in the BodyHtml
Public property LicenseKey Get or Set the LicenseKey of the control. Please provide the key using the design time property editor within Visual Studio in order to license this control. Setting the key programatically wont work for the licensing purpose. Setting any string other than a valid license key will start the control in evaluation mode and it will expire within 15 days. When it expires, you will be taken to the purchase website everytime you load the control. At the same time the control will be disabled.
Public property mshtmlDocument2 Gets the MSHTML document2.
Public property Operations This property holds all toolbar related methods like Bold, Italic, Underline, ChangeFontName etc.
Public property ReadOnly Set readOnly = true if you dont want your user to edit the content. It is useful when you show databound HTML content from your database. If you set this property = true, all toolbars will be disabled.
Public property RightToLeft This value indicates wheather the editor should draw right to left for RTL languages.
Public property ScrollBars Indicates which scrollbars will be shown for this control. Possible values are as follows : Default, Auto, Both, Horizontal, Vertical, None, Custom. Custom means, if you want to set more customized option for horizontal scrollbar and vertical scrollbar then you can do that using the BodyStyle property and set this value as Custom so that the BodyStyle value will be used for the customized behavior of the scrollbars.
Public property ScrollRectangle Gets the dimension of the editor's scrollable region.
Public property SelectionState This property holds all selection related sub properties and methods like IsBold, IsItalic, IsImageSelected etc
Public property ShowDefaultContextMenu If set to false, the default context menu for the editor will not be shown.
Public property SpellCheckDictionary The Dictionary object for Spell Checker. It contains many sub properties like DictionaryFolder, DictionaryFile etc.
Public property SpellChecker Spell Checker opetions like IgnoreAllCapsWords, IgnoreHtml, ShowDialog.
Public property Toolbar1 Gets the toolbar1.
Public property Toolbar2 Gets the toolbar2.
Public property ToolbarContextMenuStrip Gets or Sets the ContextMenuStrip for the toolbar. If you want to set ContextMenuStrip for the editor, please set EditorContextMenuStrip property.
Public property ToolbarCursor Gets or sets the cursor that is displayed when the mouse pointer is over the Toolbars.
Public property WordWrap This value indicates if the lines are automatically word-wrapped; if set to False then it collapses whitespace as for 'normal', but suppresses line breaks within text except for those created by "\\A" in generated content (e.g., for the BR element in HTML)
Public property XHTMLMode By default, the editor returns the old html. But if it is very necessary for you to get XHTML (http://www.w3schools.com/xhtml/xhtml_html.asp) then set this property to True. Setting this property will filter the BodyHtml and DocumentHtml and it is an extra work. So, do not set this to TRUE if you really do not need it.
Top

See Also