Skip to main content

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

PivotGridControl.AllowHideFields Property

Gets or sets a value that specifies when fields can be hidden by end-users.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public AllowHideFieldsType AllowHideFields { get; set; }

#Property Value

Type Description
AllowHideFieldsType

A AllowHideFieldsType enumeration value that specifies when fields can be hidden by end-users.

Available values:

Name Description
Never

Fields cannot be hidden.

Always

Fields can always be hidden.

WhenFieldListVisible

Fields can be hidden only when the field list is visible.

#Remarks

End-users can change the location of fields by dragging their headers, and hide them by dropping their headers outside the header area (data, filter, column and row areas).

The AllowHideFields property controls when an end-user can hide fields. If a field can be hidden, the HideFieldGlyph glyph is displayed near the cursor when an end-user is dragging a field header.

See Also