title: how can i make animation on TextBox?
body: <p>the nex code is simple code to make animation on a text box .</p>
  
  <p>i need to but it in a style  to make animation on more thane one text box .</p>
  
  <p>i try but i failed .</p>
  
  <p>th code </p>
  
  <pre><code> &lt;TextBox  Grid.Column=" 1" Margin=" 5"&gt;
              &lt;TextBox.Background &gt;
                  &lt;LinearGradientBrush StartPoint="0,0" EndPoint="1,1"&gt;
                      &lt;GradientStop x:Name="sd1" Color="White" Offset="0"/&gt;
                      &lt;GradientStop x:Name="sd2" Color="#FF5F5F5F" Offset="1"/&gt;
                  &lt;/LinearGradientBrush&gt;
              &lt;/TextBox.Background&gt;
              &lt;TextBox.Triggers &gt;
                  &lt;EventTrigger RoutedEvent="GotFocus"&gt;
                      &lt;BeginStoryboard &gt;
                          &lt;Storyboard &gt;
                              &lt;DoubleAnimation  Storyboard.TargetName="sd1" Storyboard.TargetProperty="Offset" From="0" To="1" Duration="0:0:2"&gt;&lt;/DoubleAnimation&gt;
                          &lt;/Storyboard&gt;
                      &lt;/BeginStoryboard&gt;
                  &lt;/EventTrigger&gt;
                  &lt;EventTrigger RoutedEvent="LostFocus" &gt;
                      &lt;BeginStoryboard &gt;
                          &lt;Storyboard &gt;
                              &lt;DoubleAnimation  Storyboard.TargetName="sd1" Storyboard.TargetProperty="Offset" From="1" To="0" Duration="0:0:2"&gt;&lt;/DoubleAnimation&gt;
                          &lt;/Storyboard&gt;
                      &lt;/BeginStoryboard&gt;
                  &lt;/EventTrigger&gt;
              &lt;/TextBox.Triggers&gt;
          &lt;/TextBox&gt;
  </code></pre>
  
  <p>thank you ....</p>