<UserControl x:Class="AlarmInfoServerSim.Views.StatusBar"
             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:AlarmInfoServerSim.Views"
             xmlns:prism="http://prismlibrary.com/"
             prism:ViewModelLocator.AutoWireViewModel="True"
             Width="600" Height="50" 
             mc:Ignorable="d">
    <Grid Background="#FFCECECE" Margin="5,0,5,0">
        <Grid.RowDefinitions>
            <RowDefinition Height="25"/>
            <RowDefinition Height="25"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="200"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Row="0" Grid.Column="0" Orientation="Horizontal">
            <Label VerticalAlignment="Center" HorizontalAlignment="Center">Local IP: </Label>
            <Label Content="{Binding LocalIp}" HorizontalAlignment="Center" VerticalAlignment="Center"></Label>
        </StackPanel>
        <StackPanel Grid.Row="0" Grid.Column="1" Orientation="Horizontal">
            <Label HorizontalAlignment="Center" VerticalAlignment="Center">Local Port:</Label>
            <Label Content="{Binding LocalPort}" HorizontalAlignment="Center" VerticalAlignment="Center"></Label>
        </StackPanel>
        <StackPanel Grid.Row="1" Grid.Column="0" Orientation="Horizontal">
            <Label HorizontalAlignment="Center" VerticalAlignment="Center">Remote IP:</Label>
            <Label Content="{Binding RemoteIp}" HorizontalAlignment="Center" VerticalAlignment="Center"></Label>
        </StackPanel>
        <StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal">
            <Label HorizontalAlignment="Center" VerticalAlignment="Center">Remote Port:</Label>
            <Label Content="{Binding RemotePort}" HorizontalAlignment="Center" VerticalAlignment="Center"></Label>
        </StackPanel>
        <StackPanel Grid.Row="1" Grid.Column="2" Orientation="Horizontal">
            <Label HorizontalAlignment="Center" VerticalAlignment="Center">Status:</Label>
            <Label Content="{Binding Status}" HorizontalAlignment="Center" VerticalAlignment="Center"></Label>
        </StackPanel>
    </Grid>
</UserControl>
