<UserControl x:Name="userControl" x:Class="CALLTILE"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:relictf"
             mc:Ignorable="d" Width="110" Height="110" Loaded="UserControl_Loaded" MouseLeftButtonUp="UserControl_MouseLeftButtonUp" MouseLeftButtonDown="UserControl_MouseLeftButtonDown" MouseEnter="UserControl_MouseEnter" MouseLeave="UserControl_MouseLeave" Margin="0,0,0,0" Padding="0,0,0,0">
    <UserControl.Resources>
        <Storyboard x:Key="animeenter">
            <ThicknessAnimationUsingKeyFrames Storyboard.TargetName="userControl" Storyboard.TargetProperty="(FrameworkElement.Margin)">
                <EasingThicknessKeyFrame KeyTime="00:00:01" Value="2,2,2,2"/>
            </ThicknessAnimationUsingKeyFrames>
            <ThicknessAnimationUsingKeyFrames Storyboard.TargetName="callssstile" Storyboard.TargetProperty="(FrameworkElement.Margin)">
                <EasingThicknessKeyFrame KeyTime="00:00:01" Value="2,2,2,2"/>
            </ThicknessAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="animepressed">
            <ThicknessAnimationUsingKeyFrames Storyboard.TargetName="callssstile" Storyboard.TargetProperty="(FrameworkElement.Margin)">
                <EasingThicknessKeyFrame KeyTime="00:00:01" Value="-2,-2,-2,-2"/>
            </ThicknessAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="callssstile" Storyboard.TargetProperty="(FrameworkElement.Width)">
                <EasingDoubleKeyFrame KeyTime="00:00:01" Value="114"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="callssstile" Storyboard.TargetProperty="(FrameworkElement.Height)">
                <EasingDoubleKeyFrame KeyTime="00:00:01" Value="114"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="userControl" Storyboard.TargetProperty="(FrameworkElement.Width)">
                <EasingDoubleKeyFrame KeyTime="00:00:01" Value="114"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="userControl" Storyboard.TargetProperty="(FrameworkElement.Height)">
                <EasingDoubleKeyFrame KeyTime="00:00:01" Value="114"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </UserControl.Resources>
    <Grid>
        <Grid x:Name="callt" Opacity="0.5"/>
        <Label x:Name="callssstile" Content="phone" Height="110" Width="110" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Bottom" Margin="0,0,0,0"/>
        <Grid x:Name="call_bttn" HorizontalAlignment="Center" Height="50" VerticalAlignment="Center" Width="50">
            <Label Content="📞" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontFamily="Segoe UI Light" FontSize="20" FontWeight="Bold"/>
        </Grid>
    </Grid>
</UserControl>
