<UserControl x:Class="Ink_Canvas.Controls.CopyButton"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern">
    <Button x:Name="CopyButtonControl" Padding="6" Click="CopyButton_Click"
            ToolTipService.ToolTip="Copy">
        <Grid>
            <ui:FontIcon x:Name="FontIcon_Copy" FontSize="16"
                         Icon="{x:Static ui:SegoeFluentIcons.Copy}" RenderTransformOrigin="0.5 0.5">
                <FrameworkElement.RenderTransform>
                    <ScaleTransform x:Name="ScaleTransform_Copy"
                                    ScaleX="1" ScaleY="{Binding ScaleX, RelativeSource={RelativeSource Self}}"/>
                </FrameworkElement.RenderTransform>
            </ui:FontIcon>
            <ui:FontIcon x:Name="FontIcon_Success" FontSize="16"
                         Icon="{x:Static ui:SegoeFluentIcons.CheckMark}" RenderTransformOrigin="0.5 0.5">
                <FrameworkElement.RenderTransform>
                    <ScaleTransform x:Name="ScaleTransform_Success"
                                    ScaleX="0" ScaleY="{Binding ScaleX, RelativeSource={RelativeSource Self}}"/>
                </FrameworkElement.RenderTransform>
            </ui:FontIcon>
        </Grid>
    </Button>
</UserControl>
