Skip to main content
Bar

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.v22.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public static IPopupControl GetDXContextMenu(
    UIElement element
)

Parameters

Name Type Description
element UIElement

A UIElement whose DXContextMenu property value must be returned.

Returns

Type Description
DevExpress.Xpf.Bars.IPopupControl

A IPopupControl object associated with the specified object.

See Also