Back to Devexpress

BarPopupBase.ShowElementContextMenu(Object) Method

wpf-devexpress-dot-xpf-dot-bars-dot-barpopupbase-dot-showelementcontextmenu-x28-system-dot-object-x29.md

latest1.4 KB
Original Source

BarPopupBase.ShowElementContextMenu(Object) Method

Displays a context menu associated with the specified element.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Parameters

NameTypeDescription
contextMenuElementObject

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

DXContextMenu

BarPopupBase Class

BarPopupBase Members

DevExpress.Xpf.Bars Namespace