Skip to main content
A newer version of this page is available. .

Commands

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.