officefileapi-devexpress-dot-spreadsheet-363cfea1.md
Contains options that allow you to restrict an end-user’s ability to move or remove a PivotTable field.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public interface PivotFieldBehaviorOptions
Public Interface PivotFieldBehaviorOptions
The following members return PivotFieldBehaviorOptions objects:
An object exposing the PivotFieldBehaviorOptions interface is accessible using the PivotField.Behavior property. Utilize the object’s properties to disable an end-user’s capability to move the specified field to the column axis area (PivotFieldBehaviorOptions.DragToColumnAxisAllowed), row axis area (PivotFieldBehaviorOptions.DragToRowAxisAllowed), data area (PivotFieldBehaviorOptions.DragToDataAllowed) or page area (PivotFieldBehaviorOptions.DragToPageAllowed) of the PivotTable report or remove it from the pivot table (PivotFieldBehaviorOptions.DragOffAllowed).
See Also