AutoGeneratingColumnEventArgs.Column Property
Gets the column being generated automatically.
Namespace: DevExpress.XamarinForms.DataGrid
Assembly: DevExpress.XamarinForms.Grid.dll
NuGet Package: DevExpress.XamarinForms.Grid
Declaration
public GridColumn Column { get; }
Property Value
Type | Description |
---|---|
GridColumn | A GridColumn class descendant that specifies the column to be added to the grid. |
Example
This example shows how to use the AutoGeneratingColumn event to modify an auto-generated column at the time it is created, or cancel the generation of a column.
<dxg:DataGridView x:Name="grid" ItemsSource="{Binding Employees}"
AutoGenerateColumnsMode="Auto"
AutoGeneratingColumn="Grid_AutoGeneratingColumn">
<!-- ... -->
</dxg:DataGridView>
See Also