Back to Devexpress

PivotGridField.BestFitArea Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-a7926e50.md

latest2.5 KB
Original Source

PivotGridField.BestFitArea Property

Gets or sets which interface elements are taken into account when calculating optimal width for field columns (or height for rows). This is a dependency property.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public FieldBestFitArea BestFitArea { get; set; }
vb
Public Property BestFitArea As FieldBestFitArea

Property Value

TypeDescription
FieldBestFitArea

A FieldBestFitArea enumeration value that specifies interface elements that are taken into account when calculating the optimal width for columns (or height for rows).

|

Available values:

NameDescription
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.

|

Remarks

To learn more, see Best Fit.

See Also

BestFit

PivotGridField Class

PivotGridField Members

DevExpress.Xpf.PivotGrid Namespace