The requested page is not available for the requested platform. You are viewing the content for Default platform.

DataGridView.AutoGenerateColumnsMode Property

Gets or sets whether columns should be automatically created for fields of the underlying data source, depending on whether the grid contains any columns.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

Declaration

public AutoGenerateColumnsMode AutoGenerateColumnsMode { get; set; }

Property Value

Type Description
AutoGenerateColumnsMode

A value that specifies the way columns are generated.

Remarks

Set the AutoGenerateColumnsMode property to None to prevent columns from being automatically created. If you need to cancel the generation of an individual column, use the DataGridView.AutoGeneratingColumn event. This event also allows you to customize an auto-generated column at the time it is created.

See Also