Skip to main content
All docs
V25.1
  • JS

    RichEditBuilder.SpellCheck(Action<SpellCheckBuilder>) Method

    Specifies spell check settings.

    Namespace: DevExpress.AspNetCore.RichEdit

    Assembly: DevExpress.AspNetCore.RichEdit.v25.1.dll

    NuGet Package: DevExpress.AspNetCore.RichEdit

    Declaration

    public RichEditBuilder SpellCheck(
        Action<SpellCheckBuilder> configure
    )

    Parameters

    Name Type Description
    configure Action<SpellCheckBuilder>

    A delegate method that specifies spell check settings.

    Returns

    Type Description
    RichEditBuilder

    A builder for the Rich Text Editor.

    Remarks

    <script>
    function checkWordSpelling(word, callback) {
        ...
    };
    function addWordToDictionary(word) {
        ...
    };
    </script>
    
    @(Html.DevExpress().RichEdit("richEdit")
        .SpellCheck (s => {
            s.Enabled(true);
            s.SuggestionCount(5);
            s.AddWordToDictionary("addWordToDictionary");
            s.CheckWordSpelling("checkWordSpelling");
        })
    )
    

    For more information, refer to the following help topic: Spell Check.

    See Also