<UserControl
    Background="Transparent"
    d:DesignHeight="450"
    d:DesignWidth="800"
    mc:Ignorable="d"
    x:Class="PicView.Avalonia.Views.UC.Buttons.PinButton"
    x:DataType="viewModels:MainViewModel"
    xmlns="https://github.com/avaloniaui"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:viewModels="clr-namespace:PicView.Avalonia.ViewModels"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Panel>
        <Button
            Background="Transparent"
            ToolTip.Tip="{CompiledBinding Translation.Pin.Value,
                                          Mode=OneWay}"
            x:Name="PinBtn">
            <Image
                Height="12"
                Source="{StaticResource PinImage}"
                Width="12" />
        </Button>
        <Button
            Background="Transparent"
            ToolTip.Tip="{CompiledBinding Translation.Unpin.Value,
                                          Mode=OneWay}"
            x:Name="UnPinBtn">
            <Image
                Height="12"
                Source="{StaticResource UnPinImage}"
                Width="12" />
        </Button>
    </Panel>
</UserControl>
