<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:vws="clr-namespace:detect.gui.VWS"
        mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
        x:Class="detect.gui.VWS.NotificationWindow"
        Background="Transparent"
        Width="260"
        Height="90"
        Title="NotificationWindow">
    <Border BorderThickness="1"
            CornerRadius="6"
            Padding="10">    
        <Border.Background>
            <SolidColorBrush Color="#2D77F3" Opacity="0.7" /> 
        </Border.Background>
        <Border.BorderBrush>
            <SolidColorBrush Color="#2D77F3" Opacity="0.8" /> 
        </Border.BorderBrush>
        <Grid ColumnDefinitions="50, 10, *">
            <PathIcon Grid.Column="0" 
                      IsVisible="{Binding $parent[vws:NotificationWindow].IsWarning}" 
                      Data="{StaticResource NotificationWaringData}" 
                      Width="32" 
                      Height="32"
                      Foreground="{StaticResource Warning}"/>
            <PathIcon Grid.Column="0" 
                      IsVisible="{Binding $parent[vws:NotificationWindow].IsError}" 
                      Data="{StaticResource NotificationErrorData}" 
                      Width="32" 
                      Height="32" 
                      Foreground="{StaticResource Danger}"/>
            <PathIcon Grid.Column="0" 
                      IsVisible="{Binding $parent[vws:NotificationWindow].IsInformation}" 
                      Data="{StaticResource NotificationInformationData}" 
                      Width="32" 
                      Height="32" 
                      Foreground="{StaticResource Info}"/>
            <PathIcon Grid.Column="0" 
                      IsVisible="{Binding $parent[vws:NotificationWindow].IsSuccess}" 
                      Data="{StaticResource NotificationSuccessData}" 
                      Width="32" 
                      Height="32" 
                      Foreground="{StaticResource Success}"/>
            <TextBlock Grid.Column="2" 
                       FontFamily="{StaticResource Font-Family}"
                       FontSize="14"
                       Foreground="#FFFFFF"
                       Text="{Binding $parent[vws:NotificationWindow].Message}" />
        </Grid>
    </Border>
</Window>
