title: Silverlight - how to affect on property from VisualState
body: <p>I have the following code:</p>
  
  <pre><code>&lt;Style x:Key="GoButton" TargetType="Button"&gt;
      &lt;Setter Property="Background" Value="#FF2B832C"/&gt;
      &lt;Setter Property="Foreground" Value="#FFfdf7bd"/&gt;
      &lt;Setter Property="FontSize" Value="30" /&gt;
      &lt;Setter Property="Padding" Value="3"/&gt;
      &lt;Setter Property="BorderThickness" Value="3"/&gt;
      &lt;Setter Property="BorderBrush"&gt;
          &lt;Setter.Value&gt;
              &lt;LinearGradientBrush StartPoint="0,0" EndPoint="0,1"&gt;
                  &lt;GradientStop Color="#4d9e41" Offset="0" /&gt;
                  &lt;GradientStop Color="#294c22" Offset="1" /&gt;
              &lt;/LinearGradientBrush&gt;
          &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
      &lt;Setter Property="Template"&gt;
          &lt;Setter.Value&gt;
              &lt;ControlTemplate TargetType="Button"&gt;
                  &lt;Grid&gt;
                      &lt;VisualStateManager.VisualStateGroups&gt;
                          &lt;VisualStateGroup x:Name="CommonStates"&gt;
                              &lt;VisualState x:Name="Normal"&gt;
                              &lt;/VisualState&gt;
                              &lt;VisualState x:Name="MouseOver"&gt;
                                  &lt;Storyboard&gt;
                                      &lt;DoubleAnimation Duration="0:0:1" Storyboard.TargetProperty="FontSize" To="35" /&gt;
                                  &lt;/Storyboard&gt;
                              &lt;/VisualState&gt;
                          &lt;/VisualStateGroup&gt;
                          &lt;VisualStateGroup x:Name="FocusStates"&gt;
                              &lt;VisualState x:Name="Focused"&gt;
                                  &lt;Storyboard&gt;
                                      &lt;DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisualElement"/&gt;
                                  &lt;/Storyboard&gt;
                              &lt;/VisualState&gt;
                              &lt;VisualState x:Name="Unfocused"/&gt;
                          &lt;/VisualStateGroup&gt;
                      &lt;/VisualStateManager.VisualStateGroups&gt;
                      &lt;Border x:Name="Background" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="Transparent" CornerRadius="5"&gt;
                          &lt;Grid Background="{TemplateBinding Background}" Margin="0"&gt;
                              &lt;Border x:Name="BackgroundAnimation" Background="#FF448DCA" CornerRadius="5" Opacity="0"/&gt;
                              &lt;Rectangle x:Name="BackgroundGradient" RadiusX="5" RadiusY="5"&gt;
                                  &lt;Rectangle.Fill&gt;
                                      &lt;LinearGradientBrush EndPoint="0.8,1" StartPoint="0,0"&gt;
                                          &lt;GradientStop Color="#66b04d" Offset="0"/&gt;
                                          &lt;GradientStop Color="#66b04d" Offset="0.375"/&gt;
                                          &lt;GradientStop Color="#2d822d" Offset="0.625"/&gt;
                                          &lt;GradientStop Color="#2d822d" Offset="1"/&gt;
                                      &lt;/LinearGradientBrush&gt;
                                  &lt;/Rectangle.Fill&gt;
                              &lt;/Rectangle&gt;
                          &lt;/Grid&gt;
                      &lt;/Border&gt;
                      &lt;ContentPresenter x:Name="contentPresenter" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/&gt;
                      &lt;Rectangle x:Name="DisabledVisualElement" Fill="#FFFFFFFF" IsHitTestVisible="false" Opacity="0" RadiusY="6" RadiusX="6"/&gt;
                      &lt;Rectangle x:Name="FocusVisualElement" IsHitTestVisible="false" Margin="1" Opacity="0" RadiusY="5" RadiusX="5" Stroke="#FF6DBDD1" StrokeThickness="1"/&gt;
                  &lt;/Grid&gt;
              &lt;/ControlTemplate&gt;
          &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>I want to change FontSize when user MouseOver on button. But this code does not work, it works if I remove string, but without my animation:</p>
  
  <pre><code>&lt;DoubleAnimation Duration="0:0:1" Storyboard.TargetProperty="FontSize" To="35" /&gt;
  </code></pre>
  
  <p>how to do it correctly?</p>