aspnet-devexpress-dot-web-dot-aspxhtmleditor-6f7fa717.md
A default toolbar button that allows checking the spelling of the content within the design view area.
Namespace : DevExpress.Web.ASPxHtmlEditor
Assembly : DevExpress.Web.ASPxHtmlEditor.v25.2.dll
NuGet Package : DevExpress.Web
public class ToolbarCheckSpellingButton :
HtmlEditorToolbarItem
Public Class ToolbarCheckSpellingButton
Inherits HtmlEditorToolbarItem
The ASPxHtmlEditor allows end-users to check the spelling of its content by using the Check Spelling button ( ToolbarCheckSpellingButton ). Clicking the Check Spelling button invokes the Spell Checking Dialog.
The Check Spelling button’s functionality can be customized by using the ASPxHtmlEditor.SettingsSpellChecker property.
You can add the Check Spelling button to toolbars by using either the ASPxHtmlEditor designer at design time, or programmatically.
protected void Page_Load(object sender, EventArgs e) {
HtmlEditorToolbar stToolbar1 = HtmlEditorToolbar.CreateStandardToolbar1();
ToolbarCheckSpellingButton spellButton = new ToolbarCheckSpellingButton();
stToolbar1.Items.Add(spellButton);
ASPxHtmlEditor1.Toolbars.Add(stToolbar1);
}
<dx:ASPxHtmlEditor ID="ASPxHtmlEditor1" runat="server">
<Toolbars>
<dx:HtmlEditorToolbar Name="StandardToolbar1">
<Items>
<dx:ToolbarCheckSpellingButton BeginGroup="True">
</dx:ToolbarCheckSpellingButton>
</Items>
</dx:HtmlEditorToolbar>
</Toolbars>
</dx:ASPxHtmlEditor>
Important
If ASPxHtmlEditor contains the Check Spelling button, the built-in browser spell check feature is disabled.
Object StateManager CollectionItem ToolbarItemBase HtmlEditorToolbarItem ToolbarCheckSpellingButton
See Also