<UserControl x:Class="dvmconsole.Controls.AlertTone"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
             Height="55" Width="105"
             DataContext="{Binding RelativeSource={RelativeSource Self}}">
    <UserControl.Effect>
        <DropShadowEffect ShadowDepth="1" BlurRadius="16" Color="#FF686767" Opacity="0.3" />
    </UserControl.Effect>
    <Border BorderBrush="LightGray" BorderThickness="1,1,1,1" CornerRadius="8" Background="#FF00BC48">
        <Grid Margin="2.5" Background="#FF00BC48">
            <Grid.RowDefinitions>
                <RowDefinition Height="31*"/>
                <RowDefinition Height="39*"/>
            </Grid.RowDefinitions>

            <Button Click="PlayAlert_Click" Height="28" Width="48" Margin="46,20,0,0" Padding="0" Grid.RowSpan="2"
                    Style="{StaticResource MaterialDesignPaperDarkButton}">
                <Image Height="28" Width="48" Source="/dvmconsole;component/Assets/page.png" />
            </Button>
            <TextBlock Width="100" Height="24" HorizontalAlignment="Center" VerticalAlignment="Top" FontWeight="Bold" FontSize="10" TextWrapping="Wrap" TextAlignment="Center" Text="{Binding AlertFileName}" Background="{x:Null}" Margin="0,4,0,0" Grid.RowSpan="2" Foreground="White" />
        </Grid>
    </Border>
</UserControl>
