PivotGridFieldBase.MinWidth Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.1.Core.dll

Declaration

[DefaultValue(20)]
public virtual int MinWidth { get; set; }
<DefaultValue(20)>
Public Overridable Property MinWidth As Integer

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.

Remarks

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