title: WPF MultiDataTrigger not working
body: <p>So i have polygon:</p>
  
  <pre><code>&lt;Polygon Points="1.875,0.875 2.75,13.875 18.875,11 16.625,-3.375 1.875,0.875 "
               Style="{ StaticResource BlockView}"
               Name="KEY_1"
               Canvas.Left="35"
               Canvas.Top="211"
               attachedproperty:UtilityFunctions.IsDualModeActive="{Binding  GetDevice.SelectedProfile.IsDualMode,Mode=TwoWay}" /&gt;
  </code></pre>
  
  <p>i want the stroke of the polygon to change based on the values of IsMouseOver property and an attached property which is like this:</p>
  
  <pre><code>public static readonly DependencyProperty IsDualModeActiveProperty = DependencyProperty.RegisterAttached(
                                                                          "IsDualModeActive",
                                                                          typeof(Boolean),
                                                                          typeof(UtilityFunctions)
          );
      public static void SetIsDualModeActive(UIElement element, Boolean value)
      {
          element.SetValue(IsDualModeActiveProperty, value);
      }
      public static Boolean GetIsDualModeActive(UIElement element)
      {
          return (Boolean)element.GetValue(IsDualModeActiveProperty);
      }
  </code></pre>
  
  <p>the attached property is bound to a property in my ViewModel as you can see in the polygon code.
  Then i have this trigger defined in the style resource:</p>
  
  <pre><code> &lt;MultiDataTrigger&gt;
                      &lt;MultiDataTrigger.Conditions&gt;
                          &lt;Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsMouseOver }"
                                     Value="True" /&gt;
                          &lt;Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=IsDualModeActive }"
                                     Value="False" /&gt;
                      &lt;/MultiDataTrigger.Conditions&gt;
                      &lt;MultiDataTrigger.EnterActions&gt;
                          &lt;BeginStoryboard&gt;
                              &lt;Storyboard&gt;
                                  &lt;ColorAnimation  Storyboard.TargetProperty="Stroke.Color"
                                                   To="#73BB00"
                                                   Duration="{StaticResource controlTransitionEnterDuration}" /&gt;
                              &lt;/Storyboard&gt;
                          &lt;/BeginStoryboard&gt;
                      &lt;/MultiDataTrigger.EnterActions&gt;
                      &lt;MultiDataTrigger.ExitActions&gt;
                          &lt;BeginStoryboard&gt;
                              &lt;Storyboard&gt;
                                  &lt;ColorAnimation Storyboard.TargetProperty="Stroke.Color"
                                                  Duration="{StaticResource controlTransitionEnterDuration}" /&gt;
                              &lt;/Storyboard&gt;
                          &lt;/BeginStoryboard&gt;
                      &lt;/MultiDataTrigger.ExitActions&gt;
                      &lt;Setter Property="Opacity" Value="3" /&gt;
                  &lt;/MultiDataTrigger&gt;
  </code></pre>
  
  <p>the problem is i have checked the values of mouseover and the attachedproperty, they meet the trigger condition but the stroke of the polygon doesn't change.
  Any thing i am missing out here?
  Thanks.</p>