ToolbarCheckSpellingButton Class

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.v19.2.dll

Declaration

public class ToolbarCheckSpellingButton :
    HtmlEditorToolbarItem
Public Class ToolbarCheckSpellingButton
    Inherits HtmlEditorToolbarItem

Remarks

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.

ASPxHtmlEditor-Concepts-WorkWithContent-CheckSpelling-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);
}
Important

If ASPxHtmlEditor contains the Check Spelling button, the built-in browser spell check feature is disabled.

See Also