Animate Button LayoutTransform
<StackPanel xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" TextBlock.FontSize="18pt" > <UniformGrid Rows="3" Columns="3"> <Button Content="Button"> <Button.RenderTransform> <RotateTransform x:Name="xform1" /> </Button.RenderTransform> </Button> </UniformGrid> <UniformGrid Rows="3" Columns="3"> <Button Content="Button" > <Button.LayoutTransform> <RotateTransform x:Name="xform2" /> </Button.LayoutTransform> </Button> <Button Content="Button" /> </UniformGrid> <StackPanel.Triggers> <EventTrigger RoutedEvent="StackPanel.Loaded"> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetName="xform2" Storyboard.TargetProperty="Angle" Duration="0:0:10" From="0" To="360" RepeatBehavior="Forever" /> <DoubleAnimation Storyboard.TargetName="xform1" Storyboard.TargetProperty="Angle" Duration="0:0:10" From="0" To="360" RepeatBehavior="Forever" /> </Storyboard> </BeginStoryboard> </EventTrigger> </StackPanel.Triggers> </StackPanel>