Skip to main content
Tag

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridField.MinWidth Property

Gets or sets the minimum allowed width of columns that correspond to the current field. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public double MinWidth { get; set; }

#Property Value

Type Description
Double

A Double value, specifying the minimum allowed width (in pixels) of columns that correspond to the current field.

#Remarks

The PivotGridField.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 PivotGridField.Width.

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

See Also