<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:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
    xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
    x:Class="AidA.View.AnonymisierungsAusnahmenWindow"
    Title="Anonymisierungsausnahmen" Height="222.992" Width="425.36" ResizeMode="NoResize"
    >

    <Grid>
        <Label Content="Anträge mit diesen Antragsnummern von der Anonymisierung ausnehmen" HorizontalAlignment="Left" Margin="12,13,0,0" VerticalAlignment="Top" Width="403"/>
        <Label Content="AntragsNummer" HorizontalAlignment="Left" Margin="12,40,0,0" VerticalAlignment="Top" Width="98"/>
        <dxe:TextEdit x:Name="TextEditAntragsNummer"  HorizontalAlignment="Left" Margin="115,40,0,0" VerticalAlignment="Top" Width="137" NullText="{x:Null}" Mask="n" MaskType="Numeric" RenderTransformOrigin="-0.203,0.566"/>
        <Button Content="Hinzufügen" HorizontalAlignment="Left" Margin="257,40,0,0" VerticalAlignment="Top" Width="153" IsDefault="True" Click="HinzufuegenButton_Click"/>
        <Button Content="Schließen" HorizontalAlignment="Left" Margin="326,165,0,0" VerticalAlignment="Top" Width="84" IsDefault="True" Click="SchliessenButton_Click"/>
        <dxg:GridControl Margin="10,70,7,32" Name="GridControlAnonymisierungsAusnahmen">
            <dxg:GridControl.Columns>
                <dxg:GridColumn FieldName="IsDeleteable" Header="" FixedWidth="True" Width="24" ReadOnly="True">
                    <dxg:GridColumn.CellTemplate>
                        <DataTemplate>
                            <dx:SimpleButton HorizontalAlignment="Left" Width="18" Height="18" Glyph="{dx:DXImage SvgImages/Icon Builder/Actions_Delete.svg}" Click="DeleteButton_Click"/>
                        </DataTemplate>
                    </dxg:GridColumn.CellTemplate>
                </dxg:GridColumn>
                <dxg:GridColumn FieldName="AntragsNummer" Header="AntragsNummer" SortOrder="Ascending" SortIndex="0" />
                <dxg:GridColumn FieldName="AntragsId" Header="AntragsId"/>
            </dxg:GridControl.Columns>
            <dxg:GridControl.View>
                <dxg:TableView AutoWidth="true" ShowGroupPanel="False" ShowGroupedColumns="false" ShowTotalSummary="False" NavigationStyle="Cell" Margin="0,0,-2,0" />
            </dxg:GridControl.View>
        </dxg:GridControl>
    </Grid>
</dx:ThemedWindow>
