Mega Code Archive

 
Categories / VB.Net / WPF
 

A button that has been skewed and rotated

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"          xmlns:sys="clr-namespace:System;assembly=mscorlib"          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >   <Grid>     <Button Content ="Me Too!" Grid.Row="0" Grid.Column="3" Width="50" Height="40">       <Button.RenderTransform>         <TransformGroup>           <SkewTransform AngleX ="20" AngleY ="20"/>           <RotateTransform Angle ="45"/>           <ScaleTransform ScaleX ="2" ScaleY ="2"/>         </TransformGroup>       </Button.RenderTransform>     </Button>   </Grid> </Window>