ContextMenu.SetMenu(DependencyObject, ContextMenu) Method
In This Article
Sets the value of the ContextMenu.Menu attached property to a specified DependencyObject.
Namespace: DevExpress.UI.Xaml
Assembly: DevExpress.UI.Xaml.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
#Declaration
public static void SetMenu(
DependencyObject d,
ContextMenu menu
)
#Parameters
Name | Type | Description |
---|---|---|
d | Dependency |
The element to which the attached property is written. |
menu | Context |
The required Context |
See Also