Bar

BarPopupBase.ShowElementContextMenu(Object) Method

Displays a context menu associated with the specified element.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public static void ShowElementContextMenu(
    object contextMenuElement
)
Public Shared Sub ShowElementContextMenu(
    contextMenuElement As Object
)

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