<UserControl x:Class="KellermanSoftware.ContactsModule.Views.ContactDetailsView"
             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" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <GroupBox Margin="5" Header="Contact Details">
            <Grid Margin="5">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>

                <Label Content="Name" VerticalAlignment="Center" />
                <TextBox Grid.Column="1" IsEnabled="False"
                         Text="{Binding Path=Name, Mode=OneWay}" />
                <Label Grid.Row="1" Content="Address" VerticalAlignment="Top" />
                <TextBox Grid.Row="1" Grid.Column="1" Height="100" 
                         VerticalAlignment="Top" IsEnabled="False"
                         Text="{Binding Path=Address, Mode=OneWay}" />
                <Label Grid.Row="2" Content="Email" VerticalAlignment="Center" />
                <TextBox Grid.Row="2" Grid.Column="1" IsEnabled="False"
                         Text="{Binding Path=Email, Mode=OneWay}" />
                <Label Grid.Row="3" Content="Phone" VerticalAlignment="Center" />
                <TextBox Grid.Row="3" Grid.Column="1" IsEnabled="False"
                         Text="{Binding Path=Phone, Mode=OneWay}" />
            </Grid>
        </GroupBox>
    </Grid>
</UserControl>
