- xaml

        <ToggleButton x:Name="move1_g" Content="1" HorizontalAlignment="Left" Margin="15,50,0,0" VerticalAlignment="Top" Width="43" Height="65" FontSize="36" BorderBrush="White" Background="Black" Foreground="White" Checked="move1_g_Checked"/>
        <ToggleButton x:Name="move2_g" Content="2" HorizontalAlignment="Left" Margin="65,50,0,0" VerticalAlignment="Top" Width="43" Height="65" FontSize="36" Background="Black" BorderBrush="White" Foreground="White" Checked="move2_g_Checked"/>
        <ToggleButton x:Name="move3_g" Content="3" HorizontalAlignment="Left" Margin="115,50,0,0" VerticalAlignment="Top" Width="43" Height="65" FontSize="36" Background="Black" BorderBrush="White" Foreground="White" Checked="move3_g_Checked"/>
        <ToggleButton x:Name="move4_g" Content="4" HorizontalAlignment="Left" Margin="165,50,0,0" VerticalAlignment="Top" Width="43" Height="65" FontSize="36" Background="Black" BorderBrush="White" Foreground="White" Checked="move4_g_Checked"/>
        <Button x:Name="ok_g" Content="MOVE" HorizontalAlignment="Left" Margin="220,50,0,0" VerticalAlignment="Top" Width="50" RenderTransformOrigin="-0.288,1.109" Height="65" Background="White" Foreground="Black" BorderBrush="Black" Click="ok_g_Click" FontWeight="Bold" />

 

- c# code

 

 

-  result

 

+ Recent posts