Skip to main content
Bar

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

BarPopupBase.ShowElementContextMenu(Object) Method

Displays a context menu associated with the specified element.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public static void ShowElementContextMenu(
    object contextMenuElement
)

#Parameters

Name Type Description
contextMenuElement Object

An object representing the element for which the menu is associated.

#Remarks

To associate a context menu with an UIElement, use the BarManager.DXContextMenu attached property. The ShowElementContextMenu method displays the associated menu.

See Also