Skip to main content

RepeatedWordFoundEventArgs(String, SpellCheckOperation, String, Position, Position, Boolean) Constructor

Initializes a new RepeatedWordFoundEventArgs class instance.

Namespace: DevExpress.XtraSpellChecker

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

NuGet Package: DevExpress.SpellChecker.Core

Declaration

public RepeatedWordFoundEventArgs(
    string word,
    SpellCheckOperation result,
    string suggestion,
    Position startPosition,
    Position length,
    bool handled
)

Parameters

Name Type Description
word String

A String object representing a repeated word found.

result SpellCheckOperation

A SpellCheckOperation enumeration member, which defines the action which the spellchecker should perform.

suggestion String

An empty string, since the repeated word can only be deleted.

startPosition DevExpress.XtraSpellChecker.Parser.Position

A DevExpress.XtraSpellChecker.Parser.Position object, representing the position in the text where the repeated word begins.

length DevExpress.XtraSpellChecker.Parser.Position

A DevExpress.XtraSpellChecker.Parser.Position object, representing the length of the repeated word.

handled Boolean

When this parameter is set to true, the default event handling code is not executed.

See Also