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

Declaration

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

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