Back to Devexpress

PivotGridFieldBase.MinWidth Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldbase-4ab17d0c.md

latest2.0 KB
Original Source

PivotGridFieldBase.MinWidth Property

Gets or sets the minimum allowed 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

Declaration

csharp
public virtual int MinWidth { get; set; }
vb
Public Overridable Property MinWidth As Integer

Property Value

TypeDescription
Int32

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

Width

PivotGridFieldBase Class

PivotGridFieldBase Members

DevExpress.XtraPivotGrid Namespace