ComponentOne SpellChecker for WPF and Silverlight
C1.WPF.SpellChecker Namespace / BadWordEventArgs Class / Cancel Property

In This Topic
    Cancel Property
    In This Topic
    Gets or sets whether this bad word should be ignored by the C1SpellChecker.
    Syntax
    'Declaration
     
    
    Public Property Cancel As Boolean
    public 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