<UserControl x:Class="NorthwindClient.SupplierView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <UserControl.Resources>
        <Style x:Key="WhiteTextBlock" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White" />
        </Style>
    </UserControl.Resources>
    <Grid>
        <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Opacity="0.6" Fill="Gray" />
        <Border CornerRadius="20" Width="300" Height="400" >
        	<Border.Background>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#FF4225EC" Offset="0"/>
        			<GradientStop Color="#FFFFFFFF" Offset="1"/>
        		</LinearGradientBrush>
        	</Border.Background>
            <StackPanel Margin="15">
                <TextBlock Text="{Binding CompanyName}" Margin="5" Style="{StaticResource WhiteTextBlock}" />
                <TextBlock Text="{Binding Address}" Margin="5" Style="{StaticResource WhiteTextBlock}" />
                <TextBlock Text="{Binding City}" Margin="5" Style="{StaticResource WhiteTextBlock}" />
                <TextBlock Text="{Binding Country}" Margin="5" Style="{StaticResource WhiteTextBlock}" />
                <TextBlock Text="{Binding PostalCode}" Margin="5" Style="{StaticResource WhiteTextBlock}" />
                <Button x:Name="cmdClose" Content="Close" Margin="5" Click="cmdClose_Click" />
            </StackPanel>
        </Border>
    </Grid>
</UserControl>
