Columns Property (SfDataGrid)
Syncfusion.SfDataGrid.XForms
Example 
Columns Property (SfDataGrid)
Gets or sets the Columns collection of the SfDataGrid. The Columns collection contains the columns in the SfDataGrid which are created for each property in the model class. The user can add the various column types to the SfDataGrid based on the requirement by specifying the MappingName which associates the property in the data source.
Syntax
public Columns Columns {get; set;}

Property Value

The columns collection of the SfDataGrid.
Remarks
The Columns collection contains the columns in the SfDataGrid which are created for each property in the model class. SfDataGrid allows you to define the columns manually by adding the GridColumn objects to the Columns collection. There are different types of columns available in SfDataGrid and you can create any column based on your requirement.
Example
dataGrid.Columns.Add(new GridTextColumn() { MappingName = "OrderID" });
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 16.2451.0.46

See Also