[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Collapse]Pivot Grid
   [Expand]Getting Started
    [Expand]Information Presentation
     Product Class Structure
     Attached Properties
   [Expand]Binding to Data
   [Expand]Data Shaping
   [Expand]Data Analysis
   [Expand]Printing and Exporting
   [Expand]End-User Interaction
   [Expand]MVVM Enhancements
   [Expand]UI Elements
   [Expand]End-User Capabilities
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)


The Pivot Grid control provides you with a set of built-in commands allowing some mostly used actions to be easily programmed via XAML markup.

Command Description
PivotGridCommands.ChangeFieldSortOrder Toggles the specified field's sort order.
PivotGridCommands.ChangeFieldValueExpanded Toggles the specified Field Value's expanded state.
PivotGridCommands.CollapseField Collapses all the rows/columns which correspond to the specified column field or row field.
PivotGridCommands.ExpandField Expands all the rows/columns which correspond to the specified column field or row field.
PivotGridCommands.HideField Hides the specified field.
PivotGridCommands.HideFieldList Hides the Customization Form.
PivotGridCommands.HidePrefilter Hides the Prefilter.
PivotGridCommands.ReloadData Reloads data from the control's data source and recalculates summaries.
PivotGridCommands.ResetPrefilter Resets the Prefilter's settings to their default values.
PivotGridCommands.ShowFieldList Shows the Customization Form.
PivotGridCommands.ShowPrefilter Shows the Prefilter.
PivotGridCommands.ShowUnboundExpressionEditor Shows the Expression Editor.

Is this topic helpful?​​​​​​​