Event that fires when a spelling error is found by the C1SpellChecker.

Namespace:  C1.Web.Editor
Assembly:  C1.Web.Editor.2 (in C1.Web.Editor.2.dll)

Syntax

C#
public event BadWordEventHandler BadWordFound
Visual Basic (Declaration)
Public Event BadWordFound As BadWordEventHandler

Remarks

This event fires when the component detects a spelling error in a control. This happens while a spell dialog is displayed (see the [!:CheckControl(ISpellCheckableEditor)] method) or while the component is painting the red wavy underlines that mark misspelled words in dynamic mode (see the [!:SetSpellChecking] method).

The event parameters have a Dialog property that allow the handler to determine whether a spell dialog is being displayed or not.

The event parameters also have a Cancel property that can be used to ignore the error.

See Also