Back to Devexpress

SuggestionCollection Class

corelibraries-devexpress-dot-xtraspellchecker-a46e2e4a.md

latest2.5 KB
Original Source

SuggestionCollection Class

A collection of suggestions prepared for a misspelled word.

Namespace : DevExpress.XtraSpellChecker

Assembly : DevExpress.SpellChecker.v25.2.Core.dll

NuGet Package : DevExpress.SpellChecker.Core

Declaration

csharp
public class SuggestionCollection :
    IEnumerable<SuggestionBase>,
    IEnumerable
vb
Public Class SuggestionCollection
    Implements IEnumerable(Of SuggestionBase),
               IEnumerable

The following members return SuggestionCollection objects:

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.

Inheritance

Object SuggestionCollection

See Also

SuggestionCollection Members

DevExpress.XtraSpellChecker Namespace