<UserControl 
    x:Class="BlackjackClient.PlayerSpace"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:BlackjackClient"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="250">

    <UserControl.Resources>
        <Style x:Key="LabelStyle" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Comic Sans MS"/>
            <Setter Property="FontSize" Value="20"/>
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="Foreground" Value="Yellow"/>
            <Setter Property="Height" Value="31"/>
        </Style>
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot" Background="#008024" Margin="0,0,0,0">
        <Border BorderThickness="5" BorderBrush="Yellow" HorizontalAlignment="Center" Height="210" VerticalAlignment="Top" Width="150"/>
        <Grid Name="playerCardGrid" Height="250" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,0,0,0" Width="240" Grid.ColumnSpan="2"></Grid>
        <StackPanel Margin="0,0,0,0" Orientation="Vertical" d:LayoutOverrides="Width" VerticalAlignment="Bottom">
            <TextBlock Text="Your Name" Style="{StaticResource LabelStyle}" HorizontalAlignment="Center" x:Name="playerName" Margin="90,0,93,0" Width="67" Visibility="Visible"/>
            <StackPanel Orientation="Horizontal" d:LayoutOverrides="Width" VerticalAlignment="Bottom" HorizontalAlignment="Center">
                <TextBlock Text="$100" Style="{StaticResource LabelStyle}" FontSize="16" HorizontalAlignment="Left" x:Name="playerBalance"  Margin="0,0,0,0" VerticalAlignment="Top" Visibility="Visible"/>
                <TextBlock Text="$100" Style="{StaticResource LabelStyle}" FontSize="16" HorizontalAlignment="Center" x:Name="playerBet"  Margin="10,0,0,0" VerticalAlignment="Top" Visibility="Visible"/>
                <TextBlock Text="$250" Style="{StaticResource LabelStyle}" FontSize="16" HorizontalAlignment="Right" x:Name="playerInsurance"  Margin="10,0,0,0" VerticalAlignment="Top" Visibility="Visible"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>
