Skip to main content

PivotGridFieldBase.MinWidth Property

Gets or sets the minimum allowed width of columns that correspond to the current field.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v22.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design


public virtual int MinWidth { get; set; }

Property Value

Type Default Description
Int32 20

An integer value specifying the minimum allowed width (in pixels) of columns that correspond to the current field.


The PivotGridFieldBase.Width property cannot be set to a value that is less than the minimum allowed, specified by the MinWidth property. Also, end-users cannot set a column width to a value less than MinWidth.

Note that specifying a column width has different effects for column, row and data fields. To learn more, see PivotGridFieldBase.Width.

To denote a default value for the MinWidth property, use the PivotGridFieldBase.DefaultMinWidth field.

See Also