# DataGridControl.BestFit method

Sets the width of the specified column to best fit its content.

```csharp
public void BestFit(GridColumn column)
```

## See Also

* class [GridColumn](../GridColumn.md)
* class [DataGridControl](../DataGridControl.md)
* namespace [Eremex.AvaloniaUI.Controls.DataGrid](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
