<EgtWPFLib5:EgtCustomWindow x:Class="LoadingWndV"
                            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                            xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
                            Style="{DynamicResource {x:Type EgtWPFLib5:EgtCustomWindow}}"
                            Height="200" Width="300" 
                            TitleBarHeight="0"
                            ResizeMode="NoResize" WindowStyle="None"
                            IsClosable="False" IsMinimizable="False"
                            WindowStartupLocation="Manual" ShowInTaskbar="False">

   <Grid>
      <Grid.RowDefinitions>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="1*"/>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="1*"/>
      </Grid.RowDefinitions>
      <TextBlock Grid.Row="1"
                 Text="{Binding TotText_Msg}"
                 TextAlignment="Center"/>
      <TextBlock Grid.Row="2"
                 Text="{Binding StepText_Msg}"
                 TextAlignment="Center"
                 Visibility="{Binding StepText_Visibility}"/>
      <Grid Grid.Row="3"
            Visibility="{Binding StepProgress_Visibility}">
         <Grid.RowDefinitions>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
         </Grid.RowDefinitions>
         <Grid Height="20"/>
         <ProgressBar Grid.Row="1"
                   Minimum="0"
                   Maximum="100"
                   Value="{Binding StepProgress_Value}"
                   Height="20"
                   Margin="40,0,40,0"/>
      </Grid>
      <ProgressBar Grid.Row="5"
                   Minimum="0"
                   Maximum="100"
                   Value="{Binding TotProgress_Value}"
                   Height="20"
                   Margin="40,0,40,0"/>
      <TextBlock Grid.Row="7"
                 Text="{Binding TotProgress_Msg}"
                 TextAlignment="Center"/>
   </Grid>

</EgtWPFLib5:EgtCustomWindow>
