Back to Devexpress

PivotGridControl.CellMenuCustomizations Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-282956e1.md

latest2.7 KB
Original Source

PivotGridControl.CellMenuCustomizations Property

Allows you to customize the context menu, invoked when right-clicking cells, by adding new menu items or removing existing items.

Namespace : DevExpress.Xpf.PivotGrid

Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
[Browsable(false)]
public BarManagerActionCollection CellMenuCustomizations { get; }
vb
<Browsable(False)>
Public ReadOnly Property CellMenuCustomizations As BarManagerActionCollection

Property Value

TypeDescription
BarManagerActionCollection

A BarManagerActionCollection object, representing a collection of actions that manipulate menu items.

|

Remarks

To learn more, see Context Menus, Items and Links and Bar Actions.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CellMenuCustomizations 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-pivot-grid-create-context-menu-for-field-values/CS/WpfPivotGrid_CustomMenu/MainWindow.xaml#L37

xml
</dxpg:PivotGridControl.FieldValueMenuCustomizations>
<dxpg:PivotGridControl.CellMenuCustomizations>
    <dxb:BarButtonItem Name="CopyCellElementData" Content="Copy Cell Data"

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace