title: Action on both button press and release
body: <p>I can't get this straight: I have one button that I want one action for the press event and one action for release, I've searched everywhere and can't find an answer. </p>
  
  <p><code>KeyDown</code>, <code>KeyUp</code> or <code>MouseLeftButtonDown</code> doesn't work with button on windows phone 7. </p>
  
  <p>First I tried combining <code>GotFocus</code> and <code>Click</code> clickmode release like this:</p>
  
  <p>(As you can see I want Image1 to be shown while pressing button, and hidden when releasing the button)</p>
  
  <p>xaml: </p>
  
  <p><code>Button  Click="button1_Click" ClickMode="Release" GotFocus="button1_GotFocus"  Content="byt" Height="72" Margin="0,500,6,0" Name="button1" VerticalAlignment="Top"</code></p>
  
  <pre><code>    private void button1_GotFocus(object sender, RoutedEventArgs e)
      {
          Image1.Visibility = System.Windows.Visibility.Collapsed;
      }
  
      private void button1_Click (object sender, RoutedEventArgs e)
      {
          Image1.Visibility = System.Windows.Visibility.Visible;
      }
  </code></pre>
  
  <p>This works only one time and could work all the time if I could loose focus from the button when releasing it (tried searching for that as well)</p>
  
  <p>The other thing I tried was changing the clickmode while pressing the button, but didn't get that to work either..</p>
  
  <p>something like this:</p>
  
  <pre><code>    private void button1_Click (object sender, RoutedEventArgs e)
      {
          Image1.Visibility = System.Windows.Visibility.Collapsed;
  
          button1.SetValue(Button.ClickModeProperty, ClickMode.Release);
          Image1.Visibility = System.Windows.Visibility.Visible;
      }
  </code></pre>
  
  <p>(I know that the syntax is wrong somehow in the second one)</p>
  
  <p>Would be grateful for help!</p>