ASPxHtmlEditor.SettingsSpellChecker Property

Provides access to the spelling settings for checking the ASPxHtmlEditor's content.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v19.2.dll

Declaration

public ASPxHtmlEditorSpellCheckerSettings SettingsSpellChecker { get; }
Public ReadOnly Property SettingsSpellChecker As ASPxHtmlEditorSpellCheckerSettings

Property Value

Type Description
ASPxHtmlEditorSpellCheckerSettings

A ASPxHtmlEditorSpellCheckerSettings object that holds the spelling options.

Remarks

Examples

The following example demonstrates how to force the integrated ASPxSpellChecker to check the text edited within the ASPxHtmlEditor.

Spell checking is performed based upon the selected ISpell dictionary, culture and grammar. These settings are defined by using the ASPxHtmlEditor.SettingsSpellChecker property. In this example, the spell checking is started by clicking the default Check Spelling button in the first standard toolbar.

<dxhe:ASPxHtmlEditor ID="ASPxHtmlEditor1" runat="server">
    <SettingsSpellChecker Culture="English (United States)">
        <Dictionaries>
            <dxwsc:ASPxSpellCheckerISpellDictionary 
                AlphabetPath="~/Dictionary/EnglishAlphabet.txt" 
                CacheKey="ispellDic" Culture="English (United States)" 
                DictionaryPath="~/Dictionary/american.xlg" 
                EncodingName="Western European (Windows)" 
                GrammarPath="~/Dictionary/english.aff" />
        </Dictionaries>
    </SettingsSpellChecker>
</dxhe:ASPxHtmlEditor>
See Also