Syncfusion.SfDataGrid.XForms
Example 

AutoGeneratingColumn Event

Occurs when AutoGenerateColumnsis set as true. Using this event, the user can customize the columns being generated automatically.
Syntax
public event AutoGeneratingColumnEventHandler 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.  
Gets the original reporting source that raising this event (Inherited from Syncfusion.SfDataGrid.XForms.GridCancelEventArgs)
Gets the type of the underlying model object.  
Example
dataGrid.AutoGeneratingColumn += DataGrid_AutoGeneratingColumn;
             
void DataGrid_AutoGeneratingColumn (object sender, AutoGeneratingColumnArgs e)
{
//You can achieve your requirement here.
}
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 16.4451.0.40

See Also