<EgtWPFLib5:EgtCustomWindow x:Class="InputPwdWndV"
                            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"
                            xmlns:EgtBEAMWALL="clr-namespace:EgtBEAMWALL.ViewerOptimizer"
                            Style="{DynamicResource {x:Type EgtWPFLib5:EgtCustomWindow}}"
                            WindowStyle="None" ResizeMode="NoResize"
                            SizeToContent="WidthAndHeight"
                            WindowStartupLocation="CenterOwner"
                            IsClosable="False"
                            IsMinimizable="False"
                            IsResizable="False"
                            Title="InputPwdWndV">
   <Grid Margin="5,5,5,0">
      <Grid.RowDefinitions>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="Auto"/>
         <RowDefinition Height="Auto"/>
      </Grid.RowDefinitions>

      <TextBlock Text="{Binding PasswordMsg}"
                 Style="{StaticResource OptionTextBlock}"
                 Grid.Row="0"
                 Margin="0,0,0,5"/>
      <PasswordBox PasswordChanged="PasswordBox_PasswordChanged"
                   HorizontalContentAlignment="Right"
                   Grid.Row="1"
                   Margin="0,0,0,5"/>

      <Grid Grid.Row="2"
            Margin="0,0,0,5">
         <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="1*"/>
         </Grid.ColumnDefinitions>
         <Button Content="Ok"
                 Command="{Binding Ok_Command}"
                 IsDefault="True"
                 Grid.Column="1"
                 Style="{StaticResource EgtWPFLib5_InputButton}"/>
         <Button Content="Cancel"
                 IsCancel="True"
                 Grid.Column="3"
                 Style="{StaticResource EgtWPFLib5_InputButton}"/>
      </Grid>
   </Grid>
</EgtWPFLib5:EgtCustomWindow>
