lundi 31 juillet 2017

WPF: Limit clickable area of checkbox to the checkbox only

I am using a checkbox as follows:

<CheckBox Content="Reload Code Table Rules"
          IsChecked="{Binding ReloadCodeTableRules, UpdateSourceTrigger=PropertyChanged}"
          VerticalAlignment="Center" />

Currently the checked state will change if I click on either the checkbox or the label. Is it possible to limit this to only change when the checkbox is checked?




Aucun commentaire:

Enregistrer un commentaire