title: Switch (Select) statement in Xaml Binding?
body: <p>Is there a way to create a conditional binding in XAML?</p>
  
  <p>Example:</p>
  
  <pre><code>&lt;Window x:Name="Me" DataContext="{Binding ElementName=Me}"&gt;
      &lt;TextBlock&gt;
          &lt;TextBlock.Text&gt;
              &lt;SelectBinding Binding="{Binding MyValue}"&gt;
                  &lt;Case Value="Value1" Value="value is 1!"&gt;                
                  &lt;Case Value="Value2" Value="value is 2!"&gt;                
                  &lt;Case Value="Value3" Value="value is 3!"&gt;                
              &lt;/SelectBinding &gt;
          &lt;/TextBlock.Text&gt;
      &lt;/TextBlock&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>Bottom line, I want to set a TextBlock value according to another value of <code>Binding</code>, that can be of a list of cases where each case (or cases) is addressed to the appropriate output/setter.</p>
  
  <p>Maybe I can use a <code>DataTrigger</code> in my case, I just don't know exactly how I am gonna do it, since I am not using any <code>DataTemplate</code> here.</p>
  
  <p><strong>Update</strong><br>
  In my scenario, I am having a <code>UserControl</code> that has several controls.
  I want that according to a certain property in the UserControl.DataContext data-item, other controls in the user control should get affected accordingly. Basically same as my example above just that each case leads to a list of <code>Setter</code>s.</p>