Setting a WPF ContextMenu's PlacementTarget property in XAML?

前端 未结 3 1424
失恋的感觉
失恋的感觉 2020-12-09 03:48
3条回答
  •  -上瘾入骨i
    2020-12-09 04:36

    You should be setting the ContextMenuService.Placement attached property on the button, as stated in the remarks in the documentation for ContextMenu.Placement.

    
    

提交回复
热议问题