Skip to main content

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