Back to Devexpress

PivotGridControl.BestFitColumn(Int32) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-dot-bestfitcolumn-x28-system-dot-int32-x29.md

latest1.4 KB
Original Source

PivotGridControl.BestFitColumn(Int32) Method

Resizes the specified column to the minimum width required to completely display its contents.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public void BestFitColumn(
    int columnIndex
)
vb
Public Sub BestFitColumn(
    columnIndex As Integer
)

Parameters

NameTypeDescription
columnIndexInt32

An integer value that identifies the column by its index.

|

Remarks

To learn more, see Best Fit.

See Also

BestFit

BestFitRow(Int32)

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace