title: Using DataTrigger with more than one values in WPF
body: <p>I am using XAML code part of which is </p>
  
  <pre><code>&lt;DataTrigger Binding="{Binding Path=Name}" Value="1"&gt;
      &lt;Setter Property="Header" TargetName="expanderHeader" Value="Course Text"/&gt;
  &lt;/DataTrigger&gt;
  &lt;DataTrigger Binding="{Binding Path=Name}" Value="2"&gt;
      &lt;Setter Property="Header" TargetName="expanderHeader" Value="Media Lecture"/&gt;
  &lt;/DataTrigger&gt;
  &lt;DataTrigger    Binding="{Binding Path=Name}" Value="3"&gt;
      &lt;Setter Property="Header" TargetName="expanderHeader" Value="Assessment"/&gt;
  
  &lt;DataTrigger Binding="{Binding Path=Name}" Value="4"&gt;
      &lt;Setter Property="Header" TargetName="expanderHeader" Value="Question"/&gt;
  &lt;/DataTrigger&gt;
  &lt;DataTrigger Binding="{Binding Path=Name}" Value="5"&gt;
      &lt;Setter Property="Header" TargetName="expanderHeader" Value="General"/&gt;
  &lt;/DataTrigger&gt;
  </code></pre>
  
  <p>Now I want to use a dataTrigger which can have values as 3, 301, 302 or 303. How can I do this.
  I tried with Multidatatrigger, but it doesn't worked. The code I tried with Multidatatrigger was:</p>
  
  <pre><code>&lt;MultiDataTrigger&gt;
      &lt;MultiDataTrigger.Conditions&gt;
          &lt;Condition Binding="{Binding Path=Name}" Value="301"/&gt;
          &lt;Condition Binding="{Binding Path=Name}" Value="301"/&gt;
          &lt;Condition Binding="{Binding Path=Name}" Value="302"/&gt;
          &lt;Condition Binding="{Binding Path=Name}" Value="303"/&gt;
          &lt;/MultiDataTrigger.Conditions&gt;
      &lt;Setter Property="Header" TargetName="expanderHeader" Value="Assessment"/&gt;
  &lt;/MultiDataTrigger&gt;
  </code></pre>