阅读背景:

如何在WPF中获取ContextMenu发起的事件的来源?

来源:互联网 

I have a TreeView with a ContextMenu with Click events. When the click event in the context menu fires, I get the MenuItem as the source of the event, obviously. How can I get which node in the TreeView was the one who triggered the ContextMenu?I have a TreeView with a ContextMenu with Click




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: