IN my below code i have 2 check boxes chkQAReviewMandatory and chkIsAnsMandatory. My requirement is when i check the chkQAReviewMandatory checkbox then automatically i need to
There are two ways:
IsEnabled
and IsChecked
properties to properties in the ViewModel. On the other control, bind the IsEnabled
to the IsChecked
. This means that if one checkbox gets ticked, the other one becomes enabled.x:Name
, then you can bind to any property on that control. As for the details on how to do this, use my answer to find keywords to Google. Good luck!