'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.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
Column | Gets or sets the generated ListColumn. |
PropertyName | Gets the name of the property related with the generated ListColumn. |
PropertyType | 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