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

PivotGridOptionsBehavior.BestFitConsiderCustomAppearance Property

Gets or sets whether custom appearance settings should be taken into account when calculating minimum column width for Best Fit.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public bool BestFitConsiderCustomAppearance { get; set; }

#Property Value

Type Default Description
Boolean false

true if custom appearance settings should be taken into account when calculating minimum column width for Best Fit; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Object Type Path to BestFitConsiderCustomAppearance
PivotGridControl
.OptionsBehavior .BestFitConsiderCustomAppearance

#Remarks

Use the BestFitConsiderCustomAppearance property to specify whether appearance settings made while handling the PivotGridControl.CustomAppearance event should be taken into account when calculating minimum column width for Best Fit.

Note that Best Fit performs slower if the BestFitConsiderCustomAppearance property is set to true.

See Also