2023年8月11日

WPF ListView数据项右键菜单ContextMenu重写,以及右键菜单中button绑定ViewModel命令

摘要: 想给数据项添加右键菜单,重新给右键菜单写了样式,右键菜单中包含button,如何给Button的Command绑定到页面的ViewModel,以下是代码示例 <DataTemplate x:Key="GridViewItemDataTemplate"> <Border Width="80" Heig 阅读全文

posted @ 2023-08-11 11:07 lopengye 阅读(982) 评论(0) 推荐(0)

导航