开发者

Call menu on canvas problem in WPF

I have the tree of my tree outline show be开发者_运维技巧low:

Call menu on canvas problem in WPF

From the picture, I have to touch at scaleCanvas for 2 second, then the wsMenu will appear at this touch point. But when menu appeared, I hope the TouchEventArgs to found wsMenu which appear on my finger but it still found scaleCanvas at lower level. I want that finger to routed again and found wsMenu which shown in the red line. If it still like this I can choose menu at the next touch only.

Best Regards,

C.Porawat


I cannot test this with a touch device, it works with a mouse -

Try calling wsMenu.CaptureMouse() after the menu has appeared.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜