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

FieldBestFitArea Enum

Lists the values used to specify which interface elements should be taken into account when calculating the optimal width for columns or rows.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

[Flags]
public enum FieldBestFitArea

#Members

Name Description
None

The best-fit functionality is disabled.

FieldValue

The contents of field values are taken into account when calculating the best-fit size.

FieldHeader

The contents of field headers are taken into account when calculating the best-fit size.

Cell

The contents of data cells are taken into account when calculating the best-fit size.

All

The contents of data cells, field headers and field values are taken into account when calculating the best-fit size.

#Related API Members

The following properties accept/return FieldBestFitArea values:

#Remarks

The values listed by this enumeration are used to set the PivotGridField.BestFitArea and PivotGridControl.BestFitArea properties.

See Also