TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abhilash J A
533
2.4k
598.2k
How to get each checkbox bind id in wpf c#?
Oct 20 2016 2:01 AM
Hello everyone,
I have Listview that showing list of user data with checkboxlist. How get these checkbox bind id on Deleete button click ?
<
ListView.View
>
<
GridView
>
<
GridView.Columns
>
<
GridViewColumn
>
<
GridViewColumn.CellTemplate
>
<
DataTemplate
>
<
CheckBox
Tag
=
"{Binding login_Id}"
/>
</
DataTemplate
>
</
GridViewColumn.CellTemplate
>
</
GridViewColumn
>
<
GridViewColumn
Width
=
"100px"
DisplayMemberBinding
=
"{Binding FirstName}"
Header
=
"User Name"
/>
<
GridViewColumn
Width
=
"90px"
DisplayMemberBinding
=
"{Binding Computer_Name}"
Header
=
"PC-Names"
/>
<
GridViewColumn
Width
=
"150px"
DisplayMemberBinding
=
"{Binding IP_Address}"
Header
=
"IP Adress"
/>
<
GridViewColumn
Width
=
"150px"
DisplayMemberBinding
=
"{Binding Name}"
Header
=
"Documents Scanned"
/>
<
GridViewColumn
Width
=
"100px"
DisplayMemberBinding
=
"{Binding LogInTime}"
Header
=
"Last Login"
/>
<
GridViewColumn
Width
=
"177px"
DisplayMemberBinding
=
"{Binding Scanned Document}"
Header
=
"Action"
/>
</
GridView.Columns
>
</
GridView
>
</
ListView.View
>
private
void
Delete_Click(
object
sender, RoutedEventArgs e)
{
/*How get these
each
checkbox id here?*/
}
Reply
Answers (
1
)
buttons acting as arrow keys in wpf
How to add a combobox dynamically