Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PopupMenuShowingEventArgs.GetFieldValueInfo() Method

Returns information about the field value for which the menu is invoked.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public virtual PivotFieldValueEventArgs GetFieldValueInfo()

#Returns

Type Description
PivotFieldValueEventArgs

A PivotFieldValueEventArgs object that contains information about the field value for which the menu is invoked.

#Remarks

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

To determine for what kind of pivot grid element the menu has 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