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


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

    Parameters

    e
    A DropDownClosingEventArgs instance that 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