Constructing an HTML WYSIWYG editor oriented Home windows Kind software on .NET Framework may by no means been less complicated. You’re a .NET Developer, in search of a WYSIWYG editor management that may take / return HTML string and also you need that your software ought to run on .NET 2.0, 3.0, 3.5 and 4.x, proper ? You could have landed to the best place. SpiceLogic gives you a extremely environment friendly .NET WYSIWYG editor management for Home windows Types which GETs and SETs HTML string. You should use this management for growing home windows functions like Net Web page Content material editor, full Net Web page editor, e mail message composer or any software that makes use of a wealthy formatted textual content editor on your person. The management comes with 2 particular worth properties, “BodyHtml” and “DocumentHtml”. The BodyHtml Will get/Units the partial html content material like [b] Hiya World[/b]. The Doc HTML Will get/Units the entire HTML doc which can be utilized for a full internet web page like [HTML][head][/head][body][b] Hiya World [/b][/body][/HTML].
The editor comes with many HTML modifying instruments. You may customise all the objects within the toolbars. Even when you don’t want to make use of the default manufacturing unit objects and as an alternative use your individual, this management gives you a person pleasant interface to construct your individual toolbar objects. All of the manufacturing unit objects are totally customizable. Furthermore, all toolbar merchandise performance may be carried out externally utilizing the wealthy set of public strategies. This time you don’t want to be bothered about localization. You may customise all of the texts and exchange the manufacturing unit supplied dialogues with your individual dialogues in your individual language! It’s extremely optimized for Home windows Vista 64 bit working techniques. Html worth properties are optimized for Information Binding. It’s featured with many helpful public properties, strategies, and occasions. An excellent spell checker is simply inbuilt there. Additionally physique model may be edited utilizing a wealthy GUI CSS editor, which is offered each in Design time and run time.
Highlights:
Base and Relative URL assist:
This management is extremely appropriate for HTML paperwork which have Relative Urls in it is useful resource’s path reference. So, now you possibly can present a picture within the editor merely with the next tag : [img src=”myImage.jpg” /]. The management comes with a property named “BaseUrl”. You want to set that property to the picture folder or web url. So, Guess What !! You may ship your software to your person’s laptop the place you merely change the Base URL programmatically in order that the photographs may be proven in any of your person’s PC.
Spell Checker:
This management is featured with a spellchecker. You should use your individual dictionaries with the spellchecker.
Looking out API:
Looking out API is included with the management. You should use the default looking dialogue or you possibly can implement the search dialogue your self.
Customizable interface:
This management comes up with two manufacturing unit toolbars, with many wealthy toolbar objects. They’re excellent sufficient to do virtually your entire modifying activity. Additionally you possibly can customise them. Even when you don’t want to make use of them and as an alternative use your individual toolbar objects, you too can do this.
Design mode and supply mode:
There are two modifying modes accessible. WYSIWYG design mode and Uncooked Html supply mode which will provide you with a whole management over the HTML content material.
Occasions:
Two characteristic occasions are value mentioning. Pasting occasion and HTML Modified occasion. Guess What !! You may intercept the Pasting occasion and manipulate the pasting content material from ClipBoard and apply your filter logic. Very a lot helpful for filtering MS Phrase content material whereas pasting. HTMLChanged occasion, fires as quickly because the html is modified, just like TextChanged property of a TextBox Management. Additionally you possibly can change the default habits of the loading and saving HTML to the editor to your wants.
Strategies:
A lot of helpful strategies are there like getting or setting caret positions, scroll positions, GetPlainText() technique. GetPlainText() technique just isn’t a return a easy textual content model of the HTML. Reasonably the returned textual content will protect the format of the unique HTML content material like tables, paragraphs and many others. Cool is not it?
Properties:
A lot of helpful properties are there like Scrollbar visibility properties (GET/SET), Learn Solely property (GET/SET), Phrase Wrap property (GET/SET). Property accessible for selecting Single Line Break or Paragraph on Enter key response.
Operations composite property accommodates Strategies related to the toolbar objects. That’s, if you wish to create a button of your individual and provides it the default copy performance, you possibly can invoke the Copy() technique of this property.
The SelectionState property as its title goes offers with the editor’s content material. Like getting the attributes of the editor objects and in addition to find out the state of present choice. It has properties like, IsBold, IsHyperLinkSelected, IsImageSelected, IsItalic and many others. It accommodates one of many essential properties ActiveHTMLElement of sort IHTMLElement. This property provides you full programming management for getting the Energetic Ingredient as Doc Object Mannequin and manipulating the Ingredient (as a node).
DataBinding:
For Information Binding goal you possibly can bind any information units’ string area to the editor’s BodyHtml or DocumentHtml properties. This will provide you with a superb alternative to make use of database fashions with the editor.
Styling the Doc:
Aside from the designer mode and you’ll change the physique model of the doc proper from the editor each within the designer mode and from run time.
Different thrilling options embody:
— Fundamental sufficient for even probably the most novice of customers.
— Optimized for Vista 64 bit OS.
— Design time GUI Assortment editor accessible for manipulating the properties of the toolbar objects.
— Simpler interface so as to add new toolbar merchandise.
— HTML may be retrieve as plain previous HTML, XHTML and XML
— Generates clear [span] tags for font parts; ([span]textual content right here..[/span] (not [font]textual content right here.[/font])
— GUI Dialog for Desk Insert/Replace
— GUI Dialog for modifying desk cells.
— GUI Search dialog; Search API can also be accessible for implementing your individual search person interfaces.
