<Window x:Class="LicenseWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:EgtWPFLib="clr-namespace:EgtWPFLib;assembly=EgtWPFLib"
        FontFamily="{DynamicResource OmagCut_Font}"
        Title="OpenFile" Height="587.4" Width="500.6" WindowStyle="None"         
        ResizeMode="NoResize" ShowInTaskbar="False" AllowsTransparency="True" 
        Background="Transparent">
    <Border Style="{DynamicResource OmagCut_Border}">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.2*"/>
                <ColumnDefinition Width="4*"/>
                <ColumnDefinition Width="0.2*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="0.5*"/>
                <RowDefinition Height="1.5*"/>
                <RowDefinition Height="5.5*"/>
                <RowDefinition Height="0.5*"/>
                <RowDefinition Height="1.5*"/>
                <RowDefinition Height="0.5*"/>
            </Grid.RowDefinitions>

            <StackPanel Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="3"
                        Orientation="Horizontal"
                        HorizontalAlignment="Center">
                <TextBlock Name="IconTxBl" Foreground="White" FontSize="32" 
                           VerticalAlignment="Center" HorizontalAlignment="Center"/>
                <TextBlock Name="LicenseTxBl"  
                   Foreground="White" FontSize="20" 
                   VerticalAlignment="Center" HorizontalAlignment="Left"
                   TextWrapping="Wrap"/>
            </StackPanel>

            <StackPanel Grid.Column="1" Grid.Row="2"  Orientation="Horizontal"
                        HorizontalAlignment="Center">
                <ScrollViewer Name="MyScrollViewer" VerticalScrollBarVisibility="Auto">
                <TextBlock Name="LicenseMsgTxBl" MaxWidth="425"
                       HorizontalAlignment="Center"
                       Foreground="{DynamicResource Omag_White}" FontSize="20" VerticalAlignment="Center"
                       TextWrapping="Wrap"/>
                </ScrollViewer>
            </StackPanel>
            <Grid Grid.Column="1" Grid.Row="4">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="0.5*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="1*"/>
                    <ColumnDefinition Width="0.5*"/>
                </Grid.ColumnDefinitions>

                <Button Name="ExitBtn" Grid.Column="2" Style="{DynamicResource OmagCut_GradientBlueIconButton}" IsCancel="True">
                    <Image Source="{DynamicResource XImg}" Style="{StaticResource OmagCut_ButtonIcon}"/>
                </Button>

            </Grid>

        </Grid>

    </Border>
</Window>
