WPF ContextMenu绑定
摘要:
<Window DataContext="{Binding MyViewModelInstance}"> <ListBox ItemsSource="{Binding MyDataItems}"> <ListBox.ContextMenu> <ContextMenu DataContext="{Bi 阅读全文
posted @ 2021-06-09 15:46 HotSky 阅读(470) 评论(0) 推荐(0) 编辑