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

#Declaration

public static IPopupControl GetDXContextMenu(
    UIElement element
)

#Parameters

Name Type Description
element UIElement

A UIElement whose BarManager.DXContextMenu property value must be returned.

#Returns

Type Description
DevExpress.Xpf.Bars.IPopupControl

A IPopupControl object associated with the specified object.

See Also