Back to Devexpress

PivotBehaviorOptions.EnableFieldList Property

officefileapi-devexpress-dot-spreadsheet-dot-pivotbehavioroptions-78e84c35.md

latest5.3 KB
Original Source

PivotBehaviorOptions.EnableFieldList Property

Gets or sets a value indicating whether the PivotTable Field List can be invoked for the current pivot table.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
bool EnableFieldList { get; set; }
vb
Property EnableFieldList As Boolean

Property Value

TypeDescription
Boolean

true , to enable the capability to display the Field List ; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to EnableFieldList
PivotTable

.Behavior .EnableFieldList

|

Remarks

If the EnableFieldList property is set to false , end-users cannot invoke the PivotTable Field List to modify the existing pivot table: the Field List button in the ribbon UI and the Show Field List item in the context menu are shown disabled.

csharp
pivotTable.Behavior.EnableFieldList = false;
vb
pivotTable.Behavior.EnableFieldList = False

The following code snippets (auto-collected from DevExpress Examples) contain references to the EnableFieldList 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.

wpf-spreadsheet-pivot-table-api-examples/CS/SpreadsheetWPFPivotTableExamples/CodeExamples/PivotTableActions.cs#L146

csharp
behaviorOptions.AutoFitColumns = false;
behaviorOptions.EnableFieldList = false;

winforms-spreadsheet-pivot-table-api/CS/SpreadsheetPivotTableExamples/CodeExamples/PivotTableActions.cs#L140

csharp
behaviorOptions.AutoFitColumns = false;
behaviorOptions.EnableFieldList = false;

spreadsheet-document-api-pivot-table-examples/CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableActions.cs#L150

csharp
behaviorOptions.AutoFitColumns = false;
behaviorOptions.EnableFieldList = false;

wpf-spreadsheet-pivot-table-api-examples/VB/SpreadsheetWPFPivotTableExamples/CodeExamples/PivotTableActions.vb#L140

vb
behaviorOptions.AutoFitColumns = False
behaviorOptions.EnableFieldList = False

winforms-spreadsheet-pivot-table-api/VB/SpreadsheetPivotTableExamples/CodeExamples/PivotTableActions.vb#L134

vb
behaviorOptions.AutoFitColumns = False
behaviorOptions.EnableFieldList = False

spreadsheet-document-api-pivot-table-examples/VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableActions.vb#L137

vb
behaviorOptions.AutoFitColumns = False
behaviorOptions.EnableFieldList = False

See Also

ShowPivotTableFieldList

PivotBehaviorOptions Interface

PivotBehaviorOptions Members

DevExpress.Spreadsheet Namespace