Back to Devexpress

PivotGridOptionsBehavior.BestFitConsiderCustomAppearance Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsbehavior-2a679ab1.md

latest2.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public bool BestFitConsiderCustomAppearance { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property BestFitConsiderCustomAppearance As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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 TypePath 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

CustomAppearance

BestFitMode

PivotGridOptionsBehavior Class

PivotGridOptionsBehavior Members

DevExpress.XtraPivotGrid Namespace