Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcComboBox Class / AutoGeneratingColumn Event


In This Topic
    AutoGeneratingColumn Event (GcComboBox)
    In This Topic
    Occurs one time for each public, non-static property in the bound data type when the ItemsSource property is changed and the AutoGenerateColumns property is true.
    Syntax
    'Declaration
     
    Public Event AutoGeneratingColumn As EventHandler(Of AutoGeneratingListColumnEventArgs)
    'Usage
     
    Dim instance As GcComboBox
    Dim handler As EventHandler(Of AutoGeneratingListColumnEventArgs)
     
    AddHandler instance.AutoGeneratingColumn, handler
    public event EventHandler<AutoGeneratingListColumnEventArgs> AutoGeneratingColumn
    Event Data

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

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets or sets the generated ListColumn.  
    Gets the name of the property related with the generated ListColumn.  
    Gets the System.Type of the property related with the generated ListColumn.  
    Remarks
    This event gives you the option of altering each generated column before it is added to the control. Additionally, you have the option of canceling the event to prevent specific columns from being added.
    See Also