<dx:ThemedWindow
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
    xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
    
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
    x:Class="AidA.View.AnonymisierungslaufDetailWindow"
    Title="Anonymisierungslauf" Height="470.333" Width="564" ResizeMode="NoResize"
    >

    <Grid>
        <Label Content="Aufbewahrungsfrist (Jahre)" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="152"/>
        <dxe:TextEdit x:Name="TextEditAufbewahrungsfrist" Text="{Binding Aufbewahrungsfrist}" IsReadOnly="True" HorizontalAlignment="Left" Margin="161,10,0,0" VerticalAlignment="Top" Width="61" Mask="d" MaskType="Numeric"/>
        <Label Content="Sicherung" HorizontalAlignment="Left" Margin="232,10,0,0" VerticalAlignment="Top" Width="60"/>
        <dxe:TextEdit x:Name="SicherungTextEdit" Text="{Binding Sicherung}" IsReadOnly="True" HorizontalAlignment="Left" Margin="292,10,0,0" VerticalAlignment="Top" Width="254"/>

        <dxlc:GroupBox Header="Prüfung" HorizontalAlignment="Left" Margin="8,42,0,0" VerticalAlignment="Top" Height="155" Width="538">
            <Grid HorizontalAlignment="Left" Height="112" Margin="0,0,-4,-2" VerticalAlignment="Top" Width="518">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Label Grid.Row="0" Grid.Column="0" Content="Prüfbeginn" HorizontalAlignment="Right" />
                <TextBox Grid.Row="0" Grid.Column="1" Margin="3" Text="{Binding PruefBeginn, StringFormat=dd.MM.yyyy HH:mm:ss}" IsReadOnly="True" />
                <Label Grid.Row="0" Grid.Column="2" Content="Prüfende" HorizontalAlignment="Right"/>
                <TextBox Grid.Row="0" Grid.Column="3" Margin="3" Text="{Binding PruefEnde, StringFormat=dd.MM.yyyy HH:mm:ss}" IsReadOnly="True" />
                <Label Grid.Row="1" Grid.Column="0" Content="Prüfbenutzer" HorizontalAlignment="Right" />
                <TextBox Grid.Row="1" Grid.Column="1" Margin="3" Text="{Binding PruefUser}" IsReadOnly="True" />
                <Label Grid.Row="1" Grid.Column="2" Content="Geprüfte Anträge" HorizontalAlignment="Right" />
                <dxe:TextEdit Grid.Row="1" Grid.Column="3" Margin="3" Text="{Binding AnzahlGepruefteAntraege}" IsReadOnly="True" Mask="n" MaskType="Numeric" />
                <Label Grid.Row="2" Grid.Column="0" Content="bereits anonymisiert" HorizontalAlignment="Right" />
                <dxe:TextEdit Grid.Row="2" Grid.Column="1" Margin="3" Text="{Binding AnzahlBereitsAnonymisierteAntraege}" IsReadOnly="True" />
                <Label Grid.Row="2" Grid.Column="2" Content="ausgenommen" HorizontalAlignment="Right" />
                <dxe:TextEdit Grid.Row="2" Grid.Column="3" Margin="3" Text="{Binding AnzahlAusgenommeneAntraege}" IsReadOnly="True" />
                <Label Grid.Row="3" Grid.Column="0" Content="noch aufzubewahren" HorizontalAlignment="Right" />
                <dxe:TextEdit Grid.Row="3" Grid.Column="1" Margin="3" Text="{Binding AnzahlNochAufzubewahrendeAntraege}" IsReadOnly="True" />
                <Label Grid.Row="3" Grid.Column="2" Content="zu anonymisieren" HorizontalAlignment="Right" />
                <dxe:TextEdit Grid.Row="3" Grid.Column="3" Margin="3" Text="{Binding AnzahlZuAnonymisierendeAntraege}" IsReadOnly="True" />
            </Grid>
        </dxlc:GroupBox>
        <dxlc:GroupBox Header="Anonymisierung" HorizontalAlignment="Left" Margin="10,202,0,0" VerticalAlignment="Top" Height="102" Width="536">
            <Grid HorizontalAlignment="Left" Height="56" Margin="0,0,-3,0" VerticalAlignment="Top" Width="515">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Label Grid.Row="0" Grid.Column="0" Content="Anonymisierungsbeginn" HorizontalAlignment="Right" />
                <TextBox Grid.Row="0" Grid.Column="1" Margin="3" Text="{Binding AnonymisierungsBeginn, StringFormat=dd.MM.yyyy HH:mm:ss}" IsReadOnly="True" />
                <Label Grid.Row="0" Grid.Column="2" Content="Anonymisierungsende" HorizontalAlignment="Right"/>
                <TextBox Grid.Row="0" Grid.Column="3" Margin="3" Text="{Binding AnonymisierungsEnde, StringFormat=dd.MM.yyyy HH:mm:ss}" IsReadOnly="True" />
                <Label Grid.Row="1" Grid.Column="0" Content="Anonymisierungsbenutzer" HorizontalAlignment="Right" />
                <dxe:TextEdit Grid.Row="1" Grid.Column="1" Margin="3" Text="{Binding AnonymisierungsUser}" IsReadOnly="True" />
                <Label Grid.Row="1" Grid.Column="2" Content="Anonymisierte Anträge" HorizontalAlignment="Right" />
                <dxe:TextEdit Grid.Row="1" Grid.Column="3" Margin="3" Text="{Binding AnzahlAnonymisierteAntraege}" IsReadOnly="True" Mask="n" MaskType="Numeric" />
            </Grid>
        </dxlc:GroupBox>
        <Label Content="Bemerkung" HorizontalAlignment="Left" Margin="10,310,0,0" VerticalAlignment="Top" Width="81"/>
        <TextBox Name="BemerkungTextBox" Text="{Binding Bemerkung}" HorizontalAlignment="Left" VerticalAlignment="Top" MaxLength="1024" Height="44" Margin="91,310,0,0" TextWrapping="Wrap" Width="455" TextChanged="BemerkungTextBox_TextChanged"/>
        <Button Name="StartenButton" Content="Starten" HorizontalAlignment="Left" Margin="213,409,0,0" VerticalAlignment="Top" Width="74" IsDefault="True" Click="StartButton_Click"/>
        <Button Name="VerwerfenButton" Content="Verwerfen" HorizontalAlignment="Left" Margin="292,409,0,0" VerticalAlignment="Top" Width="76" IsDefault="True" Click="VerwerfenButton_Click"/>
        <Button Name="SpeichernButton" Content="Speichern" HorizontalAlignment="Left" Margin="373,409,0,0" VerticalAlignment="Top" Width="87" IsDefault="True" Click="SpeichernButton_Click" IsEnabled="False"/>
        <Button Name="SchliessenButton" Content="Schließen" HorizontalAlignment="Left" Margin="465,409,0,0" VerticalAlignment="Top" Width="81" IsDefault="True" Click="SchliessenButton_Click"/>
        <dxe:ProgressBarEdit x:Name="DurchfuehrenProgressbar" HorizontalAlignment="Left" Margin="10,359,0,0" VerticalAlignment="Top" Width="536" Height="43" ContentDisplayMode="Value" DisplayFormatString="Anonymisiere Anträge: {0}" Visibility="Hidden"/>
    </Grid>
</dx:ThemedWindow>
