<UserControl x:Class="Galaxy_Swapper_v2.Workspace.Components.CTabControl"
             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:Galaxy_Swapper_v2.Workspace.Components"
             mc:Ignorable="d" 
             x:Name="root"
             Height="40"
             Width="40"
             Margin="8"
             >
    <Border Background="{Binding Color, ElementName=root}" BorderBrush="#050608" CornerRadius="10" BorderThickness="1" Cursor="Hand" MouseEnter="CTabControl_MouseEnter" MouseLeave="CTabControl_MouseLeave">
        <Grid>
            <Image x:Name="Default" Source="{Binding Icon, ElementName=root}" Height="20" Width="20" IsEnabled="False"/>
            <Image x:Name="Clicked" Source="{Binding IconClicked, ElementName=root}" Height="20" Width="20" IsEnabled="False" Visibility="Hidden"/>
        </Grid>
    </Border>
</UserControl>