Skip to content

Instantly share code, notes, and snippets.

@danhollick
Last active September 7, 2016 13:01
Show Gist options
  • Save danhollick/5cc9e336e67be9c0ad1d8a9852fbf4cf to your computer and use it in GitHub Desktop.
Save danhollick/5cc9e336e67be9c0ad1d8a9852fbf4cf to your computer and use it in GitHub Desktop.
Button Pressed
<App>
<Rectangle Height="60" Width="80%" Color="#50E3C2" CornerRadius="4" ux:Name="BlueRectangle">
<Text TextColor="#fff" FontSize="16" Value="Click Me!" Alignment="Center" ux:Name="ButtonText"/>
<DropShadow Color="#00000060" Distance="1" Angle="90" Size="1" Spread="0.2"/>
<WhilePressed>
<Scale Target="BlueRectangle" Factor="0.95" Duration="0.4" Easing="QuadraticOut"/>
</WhilePressed>
<Clicked>
<Set Target="ButtonText.Value" Value="You clicked me!" />
</Clicked>
</Rectangle>
</App>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment