Back to Devexpress

PivotGridOptionsCustomization.AllowHideFields Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionscustomization-a56fac74.md

latest2.7 KB
Original Source

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.v25.2.Core.dll

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(AllowHideFieldsType.WhenCustomizationFormVisible)]
public AllowHideFieldsType AllowHideFields { get; set; }
vb
<DefaultValue(AllowHideFieldsType.WhenCustomizationFormVisible)>
Public Property AllowHideFields As AllowHideFieldsType

Property Value

TypeDefaultDescription
AllowHideFieldsTypeWhenCustomizationFormVisible

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

|

Available values:

NameDescription
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.

|

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 - . Otherwise, the cursor which indicates that the field cannot be dropped is displayed - .

See Also

Visible

PivotGridOptionsCustomization Class

PivotGridOptionsCustomization Members

DevExpress.XtraPivotGrid Namespace