Skip to main content

ContextMenu.GetMenu(DependencyObject) Method

Gets the value of the ContextMenu.Menu attached property for a specified DependencyObject.

Namespace: DevExpress.UI.Xaml

Assembly: DevExpress.UI.Xaml.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public static ContextMenu GetMenu(
    DependencyObject d
)

Parameters

Name Type Description
d DependencyObject

The element from which the property value is read.

Returns

Type Description
ContextMenu

The ContextMenu.Menu property value for the element.

See Also