阅读背景:

用分层数据模板在树视图中绑定contextmenu命令。

来源:互联网 

I have a treeview with hierarchical data template and I am trying to set DataContext for ContextMenu, so I could bind commands to it. I have done research and know that ContextMenu doesn't inherit DataContext of its parent. I tried to follow these posts: I have a treeview with hierarchical data templa




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

分享到: