Skip to main content
Bar

BarPopupBase.ShowElementContextMenu(Object) Method

Displays a context menu associated with the specified element.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.1.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