Skip to main content

SuggestionBase.Distance Property

Gets a Levenshtein distance between the misspelled and the suggested words.

Namespace: DevExpress.XtraSpellChecker

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

NuGet Package: DevExpress.SpellChecker.Core

Declaration

public int Distance { get; }

Property Value

Type Description
Int32

An integer value representing the calculated Levenshtein distance.

Remarks

The SpellCheckerBase.LevenshteinDistance specifies the maximum allowed value for a suggestion to be included in a suggestion collection.

See Also