LayoutTransform section
<StackPanel xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" TextBlock.FontSize="18pt" > <TextBlock Margin="24"> LayoutTransform </TextBlock> <UniformGrid Rows="3" Columns="3"> <Button Content="Button" /> <Button Content="Button" /> <Button Content="Button" > <Button.LayoutTransform> <RotateTransform Angle="45" /> </Button.LayoutTransform> </Button> <Button Content="Button" /> <Button Content="Button" /> </UniformGrid> </StackPanel>