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


In This Topic
    OnSelectedValueChanged Method (GcComboBox)
    In This Topic
    Raises the SelectedValueChanged event.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnSelectedValueChanged( _
       ByVal e As EventArgs _
    ) 
    'Usage
     
    
    Dim instance As GcComboBox
    Dim e As EventArgs
     
    instance.OnSelectedValueChanged(e)
    protected virtual void OnSelectedValueChanged( 
       EventArgs e
    )

    Parameters

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

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

    See Also