BestFitMode Enum
Lists the values used to specify the way the column width should be calculated.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
#Members
Name | Description |
---|---|
Default
|
If this mode is assigned to the Column |
All
|
The column width is calculated based on text of all cells within this column. |
Visible
|
The column width is calculated based on the values in the currently visible cells. |
Distinct
|
The column width is calculated based on all distinct values in the underlying datasource. |
Smart
|
In this mode, the column width is calculated as Best |
#Related API Members
The following properties accept/return BestFitMode values:
#Remarks
Values listed by the BestFitMode enumeration are used to set the TableView.BestFitMode and ColumnBase.BestFitMode properties.