title: Binding MenuItem property (IsEnabled) to combobox property (SelectedIndex) in same control
body: <p>I've spent a good portion of my day researching this; I'm curious if it's possible to do simple binding fully in XAML, without the need to implement INotifyPropertyChanged in the code behind.</p>
  
  <p>Ironically, in the amount of time I've spent researching this I could have just done it in the code behind 5 times over.</p>
  
  <p>I've come across a few articles that suggest using DataTriggers (for MenuItems, the DataTrigger must be inside the a Style Trigger).  I've tried this, but it doesn't work without error.</p>
  
  <p>I suspect the DataTrigger couldn't find the combobox because of MenuItem scope issues, which I read in a different thread.  </p>
  
  <p>Anyone have any suggestions?</p>
  
  <p>Code: (no build or runtime errors, but property not updated)</p>
  
  <pre><code>&lt;ContextMenu&gt;
  &lt;MenuItem Header="Do Something Neat" x:Name="MyMenuItem" Click="MyMenuItem_Click"&gt;
      &lt;MenuItem.Style&gt;
          &lt;Style TargetType="{x:Type MenuItem}"&gt;
              &lt;Style.Triggers&gt;
                  &lt;Setter Property="IsEnabled" Value="True" /&gt;
                  &lt;DataTrigger Binding="{Binding ElementName=MyComboBox, Path=SelectedIndex}" Value="-1"&gt;
                      &lt;Setter Property="IsEnabled" Value="False" /&gt;
                  &lt;/DataTrigger&gt;                                        
              &lt;/Style.Triggers&gt;
          &lt;/Style&gt;
      &lt;/MenuItem.Style&gt;
  &lt;/MenuItem&gt;
  &lt;/ContextMenu&gt;
  </code></pre>