A newer version of this page is available. Switch to the current version.

PivotGridOptionsCustomization.AllowHideFields Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v18.2.Core.dll

Declaration

[DefaultValue(AllowHideFieldsType.WhenCustomizationFormVisible)]
[XtraSerializableProperty]
public AllowHideFieldsType AllowHideFields { get; set; }

Property Value

Type Default Description
AllowHideFieldsType

WhenCustomizationFormVisible

An AllowHideFieldsType enumeration value which specifies when the field can be hidden by end-users.

Available values:

Name Description
Never

End-users cannot hide fields.

Always

End-users can always hide fields.

WhenCustomizationFormVisible

End-users can only hide fields when the customization form is visible.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowHideFields
WinForms Controls PivotGridControl
.OptionsCustomization.AllowHideFields
Reporting XRPivotGrid
.OptionsCustomization.AllowHideFields
ASP.NET Web Forms Controls ASPxPivotGrid
.OptionsCustomization.AllowHideFields
MVCxPivotGrid
.OptionsCustomization.AllowHideFields
PivotGridSettings
.OptionsCustomization.AllowHideFields

Remarks

End-users can change the location of fields by dragging their headers. Fields can be moved from one area to another. The XtraPivotGrid control allows end-users to hide fields by dropping their headers outside the header areas (data, filter, column and row areas).

The AllowHideFields property controls when an end-user can hide fields. If the field can be hidden an X cursor is displayed - AllowHideField_allow. Otherwise, the cursor which indicates that the field cannot be dropped is displayed - AllowHideField_prohibit.

See Also