I have a UserControl that has an image on it. It has it's Visibility property bound to a property (named "On") on the ViewModel (which raises a PropertyChanged event). Now I'd like to create another UserControl which contains a few of these UserControls. It will have its own ViewModel which will expose another set of properties that should effect these image UserControls.
I could just use FindName and explicitly grab their view model and set the On property, but I was wondering if there was a way to handle this through binding, ex.
<local:MyImageView x:Name="MyImage1" On="{Binding Image1On}" />
Where Image1On would be another property on the second UserControl's ViewModel.