corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-cfc8ad27.md
Gets or sets the width of columns that correspond to the current field.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
public virtual int Width { get; set; }
Public Overridable Property Width As Integer
| Type | Description |
|---|---|
| Int32 |
An integer value specifying the width of columns that correspond to the current field.
|
The Width property effect depends on the area where the current field is located.
The PivotGridFieldBase.MinWidth property defines the minimum possible width for the column. If the Width property value is less than this value, it is automatically changed to PivotGridFieldBase.MinWidth.
To denote a default value of the Width property, use the PivotGridFieldBase.DefaultWidth field.
See Also