<Window x:Class="FLY.ControlLibrary.Window_Tip"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Width="400" Topmost="True" WindowStyle="None" ShowInTaskbar="False" ResizeMode="NoResize" Loaded="Window_Loaded"  HorizontalContentAlignment="Right" VerticalContentAlignment="Bottom" SizeToContent="Height">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Themes/Styles.xaml"/>
                <ResourceDictionary Source="Themes/MaterialDesignIcons.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Border BorderThickness="1" BorderBrush="Black">
        <Grid>
            <StackPanel Margin="10,5">
                <TextBlock Text="{Binding Title}" FontWeight="Bold" FontSize="30" FontFamily="Microsoft Sans Serif" Margin="10,5"/>
                <TextBlock Text="{Binding Message}" FontWeight="Bold" FontSize="15" FontFamily="Microsoft Sans Serif" Margin="20,5" TextWrapping="Wrap" />
            </StackPanel>
            <Button Style="{StaticResource ResourceKey=Styles.Button.Empty}" Command="{Binding CloseCmd}" Background="Red" VerticalAlignment="Top" HorizontalAlignment="Right" >

                <Path  Data="{StaticResource ResourceKey=Geometry_window-close}" Fill="White" Height="36" Width="36" Stretch="Fill" SnapsToDevicePixels="True" Margin="4"/>

            </Button>
        </Grid>
    </Border>
</Window>
