<Page x:Class="ViolationNOT.ViolationPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:ViolationNOT"
      mc:Ignorable="d" 
      d:DesignHeight="450" d:DesignWidth="800"
      Title="Карточка заявления">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Grid Grid.Column="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition/>
                <RowDefinition Height="Auto"/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <TextBlock Margin="5">Адресс</TextBlock>
            <TextBox Grid.Row="1" Text="{Binding Address}" Height="Auto" Margin="5" TextWrapping="Wrap"></TextBox>
            <TextBlock Grid.Row="2" Margin="5">Описание</TextBlock>
            <TextBox Grid.Row="3" Text="{Binding Description}" Height="Auto" Margin="5"></TextBox>
        </Grid>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <TextBlock Text="Тип нарушения"></TextBlock>
            <StackPanel Grid.Row="1">
                <TextBox Name="TxtCaType" Height="30" Margin="5" ></TextBox>
                <TextBox x:Name="TxtCarNumber" Margin="5"></TextBox>
            </StackPanel>
            <Image Grid.Row="3" Name="Photo" Margin="5"></Image>
        </Grid>
        <Button x:Name="Yes" Grid.Row="1" Margin="5">Одобрить</Button>
        <Button x:Name="No" Grid.Row="1" Margin="5">Отклонить</Button>
    </Grid>
</Page>
