Syncfusion.SfDataGrid.XForms
Example 

ColumnSizer Property (SfDataGrid)

Gets or sets the ColumnSizer of the SfDataGrid, that specify how columns in the SfDataGrid are sized. SfDataGrid applies width for all the GridColumn in the Columns collection based on the ColumnSizer property.
Syntax
public ColumnSizer ColumnSizer {get; set;}

Property Value

The type of ColumnSizer that is applied to the SfDataGrid. The default value is ColumnSizer.None.
Remarks
The user can specify how columns in the SfDataGrid are sized. SfDataGrid applies width for all the GridColumn in the Columns collection based on the ColumnSizer property. When the ColumnSizer is ColumnSizer.Star, all the GridColumn are adjusted an equal column width to fit within the view.
Example
dataGrid.ColumnSizer = ColumnSizer.Star;
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.2451.0.34

See Also