Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcNumber Class / OnDropDownClosing Method
A DropDownClosingEventArgs instance contains the event data.


In This Topic
    OnDropDownClosing Method (GcNumber)
    In This Topic
    Raises the DropDownClosing event.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnDropDownClosing( _
       ByVal e As DropDownClosingEventArgs _
    ) 
    'Usage
     
    
    Dim instance As GcNumber
    Dim e As DropDownClosingEventArgs
     
    instance.OnDropDownClosing(e)
    protected virtual void OnDropDownClosing( 
       DropDownClosingEventArgs e
    )

    Parameters

    e
    A DropDownClosingEventArgs instance contains the event data.
    Remarks
    Raising an event invokes the event handler through a delegate.

    The OnDropDownClosing 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 OnDropDownClosing in a derived class, be sure to call the base class's OnDropDownClosing method so that registered delegates receive the event.

    See Also