<phoneNavigation:PhoneApplicationPage 
    x:Class="WPWebClientDataRequest.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phoneNavigation="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}">

    <Grid x:Name="LayoutRoot" Background="{StaticResource PhoneBackgroundBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitleGrid is the name of the application and page title-->
        <Grid x:Name="TitleGrid" Grid.Row="0">
            <TextBlock Text="MY APPLICATION" x:Name="textBlockPageTitle" Style="{StaticResource PhoneTextNormalStyle }"/>
            <TextBlock Text="page title" x:Name="textBlockListTitle" Style="{StaticResource PhoneTextTitle1Style}"/>
        </Grid>

        <!--ContentGrid is empty. Place new content here-->
        <Grid x:Name="ContentGrid" Grid.Row="1">
            <ListBox Height="562" HorizontalAlignment="Left" Margin="6,6,0,0" Name="lbCustomers" VerticalAlignment="Top" Width="474" >
                <ListBox.ItemTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Vertical">
                            <!--<TextBlock Text="{Binding CustomerID, BindsDirectlyToSource=False}"/>-->
                            <TextBlock Text="{Binding CompanyName}"/>
                            <TextBlock Text="{Binding ContactName}"/>
                            <TextBlock Text="{Binding ContactTitle}"/>
                            <TextBlock Text="{Binding Address}"/>
                            <TextBlock Text="{Binding City}"/>
                        </StackPanel>
                    </DataTemplate>
                </ListBox.ItemTemplate>
            </ListBox>
            <Button Content="Northwind Daten abrufen" Height="70" HorizontalAlignment="Left" Margin="0,574,0,0" Name="btnRequestData" VerticalAlignment="Top" Width="480" Click="btnRequestData_Click"/>
        </Grid>
    </Grid>
    
</phoneNavigation:PhoneApplicationPage>