ComponentOne SpellChecker for WinForms
C1.Win.C1SpellChecker.4.5.2 Assembly / C1.Win.C1SpellChecker Namespace / C1SpellChecker Class / AutoReplace Event

In This Topic
    AutoReplace Event
    In This Topic
    Occurs before the C1SpellChecker makes an automatic replacement in the control's text.
    Syntax
    'Declaration
     
    Public Event AutoReplace As AutoReplaceEventHandler
    public event AutoReplaceEventHandler AutoReplace
    Event Data

    The event handler receives an argument of type AutoReplaceEventArgs containing data related to this event. The following AutoReplaceEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets whether to skip this replacement.  
    Gets a reference to the control where the replacement will take place.  
    Gets the string that is about to be replaced.  
    Gets or sets the string that contains the replacement text.  
    Remarks
    C1SpellChecker automatically replaces text as the user types based on the list of words specified by the AutoReplaceList property.
    See Also