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.v18.2.dll
Declaration
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 glyph is displayed near the cursor when an end-user is dragging a field header.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowHideFields property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.