dimanche 25 janvier 2015

C# How to check all checkboxes on listview

How to check all checkboxes on listview?


xml:



<GridViewColumn Width="30" >
<GridViewColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<CheckBox Name="CheckBox" Padding="10" IsChecked="{Binding IsChecked}"/>
<TextBlock Text="{Binding Data}"/>
</StackPanel>
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>




Aucun commentaire:

Enregistrer un commentaire