This works if CheckBox 'test1' is defined in the same page.
<Button IsEnabled="{Binding ElementName=test1, Path=IsChecked}" />
However, if I move CheckBox 'test1' to an UserControl and then try to bind it in such a way:
<Button IsEnabled="{Binding ElementName=userControlElementName, Path=test1.IsChecked}" />
I get no results when checking the 'test1' CheckBox.
What am I missing?
Edit
UserControl and Button are contained in the same View.