Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / OnDropDownOpening Method
A DropDownOpeningEventArgs instance that contains the event data.


In This Topic
    OnDropDownOpening Method (GcTextBox)
    In This Topic
    Raises the DropDownOpening event.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnDropDownOpening( _
       ByVal e As DropDownOpeningEventArgs _
    ) 
    'Usage
     
    
    Dim instance As GcTextBox
    Dim e As DropDownOpeningEventArgs
     
    instance.OnDropDownOpening(e)
    protected virtual void OnDropDownOpening( 
       DropDownOpeningEventArgs e
    )

    Parameters

    e
    A DropDownOpeningEventArgs instance that contains the event data.
    Remarks
    Raising an event invokes the event handler through a delegate. The OnDropDownOpening 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 OnDropDownOpening in a derived class, be sure to call the base class's OnDropDownOpening method so that registered delegates receive the event.
    See Also