Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF - ListView with CheckBox in GridView - Checked event

$
0
0

I use .NET Framework 4.5, WPF.

I have a ListView with a GridView. It contains 3 columns:

  • Cb                   A CheckBox column
  • PersonID          An int column
  • PersonName     A string Column

I would like to extract all the PersonID's whose Cb column is checked. I think that I need to use the Checked event, but I don't know how to handle the event handler in the code-behind.

A complete answer will be very much appreciated.


דוד


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>