ComponentOne SpellChecker for WinForms
C1.Win.SpellChecker.8 Assembly / C1.Win.SpellChecker Namespace / BadWordEventArgs Class / Cancel Property

In This Topic
    Cancel Property (BadWordEventArgs)
    In This Topic
    Gets or sets whether this bad word should be ignored by the C1SpellChecker.
    Syntax
    'Declaration
     
    Public Property Cancel As System.Boolean
    public System.bool Cancel {get; set;}
    Remarks

    If the Dialog property is not null, then the error is about to be displayed in a spell dialog. Setting the Cancel parameter to true in this case causes the dialog to skip to the next error.

    If the Dialog property is null, then the error was detected in as-you-type mode and the word is about to be underlined. Setting the Cancel parameter to true in this case prevents the word from being underlined.

    See Also