RichTextBox for WPF | ComponentOne
C1.WPF.SpellChecker Namespace / BadWordEventArgs Class / BadWordEventArgs Constructor
Dialog that raised the event, or null if the event was not raised by a dialog.
Control being spell-checked.
CharRange that contains the bad word and its position within the text.
CharRangeList that contains all the bad words found in the text.

In This Topic
    BadWordEventArgs Constructor
    In This Topic
    Initializes a new instance of a BadWordEventArgs.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal dialog As Control, _
       ByVal control As Control, _
       ByVal error As CharRange, _
       ByVal errors As CharRangeList _
    )

    Parameters

    dialog
    Dialog that raised the event, or null if the event was not raised by a dialog.
    control
    Control being spell-checked.
    error
    CharRange that contains the bad word and its position within the text.
    errors
    CharRangeList that contains all the bad words found in the text.
    See Also