Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Rotate a Button

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="RSS Reader">          <StackPanel Orientation="Horizontal">   <Button FontSize="22" Background="Purple" Foreground="White" Height="50" Width="50" RenderTransformOrigin=".5,.5">     <Button.RenderTransform>       <RotateTransform Angle="10"/>     </Button.RenderTransform>     1   </Button> </StackPanel> </Window>