<Window x:Class="Agency.Windows.RentProperty"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Agency.Windows"
        mc:Ignorable="d"
        Title="Снять недвижимость" Height="450" Width="800">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="235"></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition Width="350"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <Label Grid.Row="0" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Крайняя цена:"></Label>
        <Label Grid.Row="1" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Срок(в месяцах):"></Label>
        <Label Grid.Row="2" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Тип недвижимости:"></Label>
        <Label Grid.Row="3" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Город:"></Label>
        <Label Grid.Row="4" Grid.Column="0" FontSize="26" FontFamily="Bahnschrift" Content="Район:"></Label>
        <TextBox x:Name="BorderPrice" Grid.Row="0" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></TextBox>
        <TextBox x:Name="SrockRent" Grid.Row="1" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></TextBox>
        <ComboBox x:Name="TypeProperty" Grid.Row="2" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></ComboBox>
        <ComboBox x:Name="CityRent" Grid.Row="3" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></ComboBox>
        <ComboBox x:Name="RayonProperty" Grid.Row="4" Grid.Column="1" FontSize="26" FontFamily="Bahnschrift" Margin="10"></ComboBox>
        <Button x:Name="SearhBtn" Grid.Row="5" Grid.Column="0" Content="Поиск" FontSize="26" FontFamily="Bahnschrift" Click="Search" Margin="15"></Button>
        <Button x:Name="CloseForm" Grid.Row="5" Grid.Column="1" Content="Отмена" FontSize="26" FontFamily="Bahnschrift" Margin="15" Click="Close"/>
        <ScrollViewer Grid.Column="2" Grid.Row="0" Grid.RowSpan="6">
            <StackPanel Grid.Column="2" Grid.Row="0" Grid.RowSpan="6">
                <ListBox x:Name="ListProperty">

                </ListBox>
            </StackPanel>
        </ScrollViewer>
    </Grid>
    
</Window>
