Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: WPFVB.NET
i m having datagrid in wpf having a checkbox column template
want to access checkbox state check /uncheck here is my code
Dim dr As DataRowView
           Dim i As Integer = 0
           Dim chk As New CheckBox
           While i < grd.Items.Count
               dr = grd.Items(i)
               grd.Items(0)(0).isChecked = True

               'chk = CType(dr(0), CheckBox)

               If chk.IsChecked Then
               End If
               i += 1
           End While
Posted 17-Feb-13 21:50pm
Tanveer A1.2K

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

It is very easy modify your datagrid

IsChecked="{Binding Sel, UpdateSourceTrigger=PropertyChanged}">


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
0 Sergey Alexandrovich Kryukov 840
1 OriginalGriff 508
2 Abhinav S 278
3 thatraja 225
4 Emre Ataseven 200
0 Sergey Alexandrovich Kryukov 8,142
1 OriginalGriff 4,665
2 Peter Leow 3,774
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107

Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 27 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid