Back to Devexpress

SpellCheckerBase.RepeatedWordFound Event

corelibraries-devexpress-dot-xtraspellchecker-dot-spellcheckerbase-357d1418.md

latest3.2 KB
Original Source

SpellCheckerBase.RepeatedWordFound Event

Occurs when a word identical to the previous one is found.

Namespace : DevExpress.XtraSpellChecker

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

NuGet Package : DevExpress.SpellChecker.Core

Declaration

csharp
public event RepeatedWordFoundEventHandler RepeatedWordFound
vb
Public Event RepeatedWordFound As RepeatedWordFoundEventHandler

Event Data

The RepeatedWordFound event's data class is RepeatedWordFoundEventArgs. The following properties provide information specific to this event:

PropertyDescription
HandledGets or sets a value indicating whether default event actions are required.
LengthGets the length of the repeated word.
ResultGets or sets the parameter that specifies the spell checker action when a repeated word is found.
StartPositionGets the beginning of the repeated word in a text.
SuggestionA string to replace the repeated word.
WordGets a word that is found to be repeated.

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

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.

spell-checker-bind-dictionaries-in-mvvm-applications/CS/DXSpellCheckerBindingDictionaries/ViewModel/MainViewModel.cs#L27

csharp
// Subscribe to events
SpellChecker.RepeatedWordFound += SpellChecker_RepeatedWordFound;
SpellChecker.CheckCompleteFormShowing += SpellChecker_CheckCompleteFormShowing;

See Also

SpellCheckerBase Class

SpellCheckerBase Members

DevExpress.XtraSpellChecker Namespace