Back to Devexpress

PopupMenuShowingEventArgs.GetCellInfo() Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-popupmenushowingeventargs-cace075d.md

latest2.3 KB
Original Source

PopupMenuShowingEventArgs.GetCellInfo() Method

Returns information about the cell for which the menu is invoked.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public virtual PivotCellBaseEventArgs GetCellInfo()
vb
Public Overridable Function GetCellInfo As PivotCellBaseEventArgs

Returns

TypeDescription
PivotCellBaseEventArgs

A PivotCellBaseEventArgs object that returns information about the cell for which the menu is invoked.

|

Remarks

For context menus invoked for field values, field headers and the field header area, the GetCellInfo method returns null ( Nothing in Visual Basic).

To determine for what kind of pivot grid element the menu is invoked, use the PopupMenuShowingEventArgs.MenuType property. The PopupMenuShowingEventArgs.TargetElement property returns the actual UI element for which the menu is invoked.

To learn more, see Context Menus.

See Also

MenuType

TargetElement

Context Menus

PopupMenuShowingEventArgs Class

PopupMenuShowingEventArgs Members

DevExpress.Xpf.PivotGrid Namespace