Listbox selectionmode=数据表的扩展绑定。需要使用MVVM灯光在按钮单击上获取所选项目
我有一个列表框Listbox selectionmode=数据表的扩展绑定。需要使用MVVM灯光在按钮单击上获取所选项目,mvvm,mvvm-light,Mvvm,Mvvm Light,我有一个列表框 <ListBox x:Name="lbFamilies" Margin="41,45,38.25,111" ToolTip="Select the tables to seed" ItemsSource="{Binding ManTntFmly.FmlyList}" ItemTemplate="{StaticResource listBoxTemplate}" SelectionMode="Extended"/> FmlyList是使用数据绑定绑定的数据表 我需要找
<ListBox x:Name="lbFamilies" Margin="41,45,38.25,111" ToolTip="Select the tables to seed" ItemsSource="{Binding ManTntFmly.FmlyList}" ItemTemplate="{StaticResource listBoxTemplate}" SelectionMode="Extended"/>
FmlyList是使用数据绑定绑定的数据表
我需要找出所有的项目
已从
列表框。如何使用
视图模型
此外,我如何获得
被传递而不是值
在选拔过程中
这里有一个帖子的链接,可以回答你的问题: