<UserControl x:Class="MaterialWPF.FloatingActionButton"
             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:MaterialWPF"
             mc:Ignorable="d" 
             d:DesignHeight="64" d:DesignWidth="64"
             Background="Transparent"
             MouseEnter="UserControl_MouseEnter"
             MouseLeave="UserControl_MouseLeave"
             >
    <Grid ClipToBounds="true">
        <local:ClippingBorder x:Name="background" MouseDown="background_MouseDown" CornerRadius="99999999999999999999" Background="#3498db" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
            <Grid>
                <Ellipse x:Name="Ripple" Width="0" Fill="White" HorizontalAlignment="Left" VerticalAlignment="Top" Height="{Binding Path=Width, RelativeSource={RelativeSource Self}}"/>
                <Image x:Name="img" UseLayoutRounding="True" SnapsToDevicePixels="True" Width="24" Height="24" ImageFailed="img_ImageFailed" />
            </Grid>
        </local:ClippingBorder>

    </Grid>
</UserControl>