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


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

    Parameters

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

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

    See Also