mardi 15 novembre 2016

WPF - what is the best way to bind data from a database to a checkbox control

I am struggling some time with checkbox control in WPF. What I am trying is to to make some kind of filter. 1. So first I need to fill the checkbox control with the database items 2. Second I need to check if anything is checked 3. Third if anything is checked I want to take those values and use them to search through the database 4. Should I use only checkbox control for this or should I put it in some container or a listBox?

I have find many topics here that are mentioning this stuff, but I couldn't manage to find the complete answer, only lot of parts that are not compatible with each other. I would really appreciate if someone explain to me how checkbox in WPF works.




Aucun commentaire:

Enregistrer un commentaire