Skip to content

FrameworkElement.ContextMenu property

Gets or sets the menu shown when the pointer is right-pressed over this element.

public ContextMenu? ContextMenu { get; set; }

Fluent: .ContextMenu(ContextMenu)