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.v21.1.dll

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