<UserControl x:Class="ksBroadcastingTestClient.ClientConnections.ClientConnectionView"
             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:ksBroadcastingTestClient.ClientConnections"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid>
        <StackPanel Orientation="Vertical">
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="Target: " FontWeight="Bold" />
            <TextBlock Text="{Binding IPort}" FontWeight="Bold" />
            <TextBlock Text="  CId: " FontWeight="Bold" />
            <TextBlock Text="{Binding ConnectionId}" FontWeight="Bold" />
        </StackPanel>
            <StackPanel Orientation="Horizontal">
                <CheckBox IsChecked="{Binding Connected}" Content="IsConnected" IsEnabled="False" />
                <CheckBox IsChecked="{Binding IsReadonly}" Content="IsReadonly" IsEnabled="False" />
            </StackPanel>
            <TextBlock Text="{Binding ErrorMessage}" />
        </StackPanel>
    </Grid>
</UserControl>
