I set the true/false value programmatically in code behind like this when the form first load, but it not working, it's not tick on UI.
chk.IsChecked = true;
For your information, the wpf form is using MVVM model and this is a checkbox I add in code behind without any binding like IsChecked = {Binding SomeValue}.
Aucun commentaire:
Enregistrer un commentaire