Skip to main content

SpellCheckBuilder.Enabled(Boolean) Method

Sets whether spell check is activated in the RichEdit control.

Namespace: DevExpress.AspNetCore.RichEdit

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

NuGet Package: DevExpress.AspNetCore.RichEdit

Declaration

public SpellCheckBuilder Enabled(
    bool value
)

Parameters

Name Type Description
value Boolean

true to enable spell check; otherwise, false.

Returns

Type Description
SpellCheckBuilder

A builder for spell check settings.

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