FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / C1FlexGrid Class / AutoGeneratingColumn Event

In This Topic
    AutoGeneratingColumn Event
    In This Topic
    Occurs when an auto-generated column is being created.
    Syntax
    'Declaration
     
    
    Public Event AutoGeneratingColumn As EventHandler(Of AutoGeneratingColumnEventArgs)
    public event EventHandler<AutoGeneratingColumnEventArgs> AutoGeneratingColumn
    Event Data

    The event handler receives an argument of type AutoGeneratingColumnEventArgs containing data related to this event. The following AutoGeneratingColumnEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets or sets the column that is being auto-generated.  
    Gets the property info associated to the column that is being auto-generated.  
    Remarks
    You can change the auto-generated column by setting the property AutoGeneratingColumnEventArgs.Column. You can cancel an auto-generated column by setting the property System.ComponentModel.CancelEventArgs.Cancel to true, in this case there will not be column for this property.
    See Also