Back to Devexpress

BarManager.GetDXContextMenu(UIElement) Method

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

latest1.4 KB
Original Source

BarManager.GetDXContextMenu(UIElement) Method

Gets the value of the BarManager.DXContextMenu attached property from a given object.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public static IPopupControl GetDXContextMenu(
    UIElement element
)
vb
Public Shared Function GetDXContextMenu(
    element As UIElement
) As IPopupControl

Parameters

NameTypeDescription
elementUIElement

A UIElement whose DXContextMenu property value must be returned.

|

Returns

TypeDescription
DevExpress.Xpf.Bars.IPopupControl

A IPopupControl object associated with the specified object.

|

See Also

DXContextMenu

BarManager Class

BarManager Members

DevExpress.Xpf.Bars Namespace