Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcComboBox Class / OnDropDownStyleChanged Method
A System.Object instance indicates the event source.
A System.EventArgs instance contains the event data.


In This Topic
    OnDropDownStyleChanged Method
    In This Topic
    Raises the DropDownStyleChanged event.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnDropDownStyleChanged( _
       ByVal sender As Object, _
       ByVal e As EventArgs _
    ) 
    'Usage
     
    
    Dim instance As GcComboBox
    Dim sender As Object
    Dim e As EventArgs
     
    instance.OnDropDownStyleChanged(sender, e)
    protected virtual void OnDropDownStyleChanged( 
       object sender,
       EventArgs e
    )

    Parameters

    sender
    A System.Object instance indicates the event source.
    e
    A System.EventArgs instance contains the event data.
    Remarks
    Raising an event invokes the event handler through a delegate.

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

    See Also