Back to Devexpress

BarManager.SetDXContextMenu(UIElement, IPopupControl) Method

wpf-devexpress-dot-xpf-dot-bars-dot-barmanager-dot-setdxcontextmenu-x28-system-dot-windows-dot-uielement-devexpress-dot-xpf-dot-bars-dot-ipopupcontrol-x29.md

latest1.5 KB
Original Source

BarManager.SetDXContextMenu(UIElement, IPopupControl) Method

Sets the value of the BarManager.DXContextMenu attached property for a given object.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public static void SetDXContextMenu(
    UIElement element,
    IPopupControl value
)
vb
Public Shared Sub SetDXContextMenu(
    element As UIElement,
    value As IPopupControl
)

Parameters

NameTypeDescription
elementUIElement

An object for which the DXContextMenu attached property is set.

| | value | DevExpress.Xpf.Bars.IPopupControl |

An IPopupControl object, to be associated with the specified UIElement.

|

See Also

DXContextMenu

BarManager Class

BarManager Members

DevExpress.Xpf.Bars Namespace