Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / FieldsEditorControl Class / OnFieldLeave Method
The FieldEventArgs instance that contains the event data.


In This Topic
    OnFieldLeave Method
    In This Topic
    Raises the FieldLeave event.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnFieldLeave( _
       ByVal e As FieldEventArgs _
    ) 
    'Usage
     
    
    Dim instance As FieldsEditorControl
    Dim e As FieldEventArgs
     
    instance.OnFieldLeave(e)
    protected virtual void OnFieldLeave( 
       FieldEventArgs e
    )

    Parameters

    e
    The FieldEventArgs instance that contains the event data.
    Remarks
    Raising an event invokes the event handler through a delegate.

    The OnFieldLeave method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

    Notes to Inheritors:

    When overriding OnFieldLeave in a derived class, be sure to call the base class's OnFieldLeave method so that registered delegates receive the event.

    See Also