<UserControl x:Class="MaterialWPF.ToolBarItem"
             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="32" d:DesignWidth="32"
             SizeChanged="ToolBarItem_OnSizeChanged"
             >
    <Grid x:Name="MainGrid" Height="32" Width="32" Cursor="Hand" PreviewMouseDown="MainGrid_PreviewMouseDown">
        <Image x:Name="image" Height="24" Width="24" Source="pack://application:,,,/MaterialWPF;component/Icons/add_white.png" HorizontalAlignment="Center" VerticalAlignment="Center" />
        <Ellipse x:Name="Ripple" Fill="White" HorizontalAlignment="Center" VerticalAlignment="Center" Width="0" Height="{Binding Path=Width, RelativeSource={RelativeSource Self}}" />
    </Grid>
</UserControl>
