Skip to main content
A newer version of this page is available. .

SuggestionCollection Class

A collection of suggestions prepared for a misspelled word.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.SpellChecker.v18.1.Core.dll

Declaration

public class SuggestionCollection :
    IEnumerable<SuggestionBase>,
    IEnumerable

Remarks

The collection consists of SuggestionBase class objects that combine the suggested word and the distance between the suggested and misspelled words.

To get access to the collection of suggestions prepared for a word which is not found in the dictionary, use the PrepareSuggestionsEventArgs.Suggestions property.

To limit the number of suggestions shown in As-You-Type context menu for the XtraSpellChecker, specify the CheckAsYouTypeOptions.SuggestionCount property value.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SuggestionCollection class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
SuggestionCollection
See Also