How can I create a checkbox programmatically in Silverlight with custom icons for checked and unchecked states?
For example - when the checkbox is checked - one icon, and when the checkbox is unchecked - another icon. I was trying to setup an Image as Content, but this image was added after the checkbox icon - and it was bad.
I know it's very unusually.
Does any way exist for this?
Or there is one way - it's using Button(for example), and adding property IsChecked to button and logic of the checkbox. But this way is not good for my situation.
Thanks.
Aucun commentaire:
Enregistrer un commentaire