如何将GridViewColumn转换为复选框(bool)?
<ListView Name="MainTable" >
<ListView.View>
<GridView>
<GridViewColumn DisplayMemberBinding="{Binding Filename}" Width="140" Header="{lex:LocTextExtension Key=Name, Dict=Resources, Assembly=Mega.Player}" />
<GridViewColumn DisplayMemberBinding="{Binding IsSuccess}" Width="60" Header="{lex:LocTextExtension Key=Success, Dict=Resources, Assembly=Mega.Player}" />
答案 0 :(得分:3)
删除DisplayMemberBinding
并创建包含绑定CheckBox
的{{3}}。