这是绑定到 table 的列表视图:
<ListView x:Name="lvwRpt" HorizontalAlignment="Left" ItemsSource="{Binding Path=BankWithdraw}" Height="335" Margin="23,230,0,0" VerticalAlignment="Top" Width="949" SelectionChanged="lvwRpt_SelectionChanged">
<ListView.View>
<GridView>
<GridViewColumn Width="0" Header="id" DisplayMemberBinding="{Binding Path=WithdrawID}" />
<GridViewColumn Width="85" Header="Date" DisplayMemberBinding="{Binding Path=Dated}" />
<GridViewColumn Width="85" Header="Acc Code" DisplayMemberBinding="{Binding Path=Account}" />
<GridViewColumn Width="120" Header="Bank Title" DisplayMemberBinding="{Binding Path=Account}" />
<GridViewColumn Width="120" Header="Description" DisplayMemberBinding="{Binding Path=Checknum}" />
<GridViewColumn Width="120" Header="Cheque Num" DisplayMemberBinding="{Binding Path=Checknum}" />
<GridViewColumn Width="115" Header="Ch. Date" DisplayMemberBinding="{Binding Path=CheckDate}" />
<GridViewColumn Width="120" Header="Amount" DisplayMemberBinding="{Binding Path=Amount}" />
</GridView>
</ListView.View>
</ListView>
但是我在WPF表单上有3个复选框。当检查一个新的复选框时,我希望从此列表视图中的数据库加载中相应的新表格。表示列表视图的标题是每个表的标题名称相同,但绑定“ {绑定路径= _ _}”是不同的。如何做到这一点?