Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BestFitMode Enum

Lists values used to calculate the best-fit column width.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

#Declaration

C#
public enum BestFitMode

#Members

Name Description
Cells

Adjusts the column width to fit the content of each cell.

Header

Adjusts the column width to fit the content of the header.

All

Adjusts the column width to fit both cell and header content.

#Related API Members

The following properties accept/return BestFitMode values:

See Also