SpellCheckBuilder.SuggestionCount(Int32) Method
Sets the maximum number of suggested words that can be displayed in the context menu.
Namespace: DevExpress.AspNetCore.RichEdit
Assembly: DevExpress.AspNetCore.RichEdit.v24.2.dll
Declaration
public SpellCheckBuilder SuggestionCount(
int value
)
Parameters
Name | Type | Description |
---|---|---|
value | Int32 | The number of words. |
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