<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="45" 
             mc:Ignorable="d">
    <Grid Background="#FFCECECE" Margin="5,0,5,0">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="200"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Column="0" Orientation="Horizontal">
            <Label VerticalAlignment="Center" HorizontalAlignment="Center">Status: </Label>
            <Label Content="{Binding Status}" HorizontalAlignment="Center" VerticalAlignment="Center"></Label>
        </StackPanel>
        <StackPanel Grid.Column="1" Orientation="Horizontal">
            <Label HorizontalAlignment="Center" VerticalAlignment="Center">IP:</Label>
            <Label Content="{Binding IpAddress}" HorizontalAlignment="Center" VerticalAlignment="Center"></Label>
        </StackPanel>
        <StackPanel Grid.Column="2" Orientation="Horizontal">
            <Label HorizontalAlignment="Center" VerticalAlignment="Center">Port:</Label>
            <Label Content="{Binding Port}" HorizontalAlignment="Center" VerticalAlignment="Center"></Label>
        </StackPanel>

    </Grid>
</UserControl>
