<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:Microsoft_Phone_Controls_Maps="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps" 
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" 
    x:Class="covoiturage.mesOffres" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot contains the root grid where all other page content is placed-->
    <Grid  Background="#603D6AFF" OpacityMask="Black" >
        <controls:Panorama Title="Mes offres" FontSize="15">

            <!--Panorama item one-->
            <controls:PanoramaItem Header="Départ Entreprise">

                <ListBox x:Name="lstDepartEntreprise" ItemTemplate="{StaticResource TemplateListeMesOffres}" SelectionChanged="lstDepartEntreprise_SelectionChanged" />
            </controls:PanoramaItem>

            <!--Panorama item two-->
            <controls:PanoramaItem Header="Départ Domicile">
                <ListBox  x:Name="lstDepartDomicile"
                    ItemTemplate="{StaticResource TemplateListeMesOffres}"  SelectionChanged="lstDepartDomicile_SelectionChanged"  />
            </controls:PanoramaItem>
            <!--Panorama item trois-->
            <controls:PanoramaItem Header="Nouvelle offre" FontSize="15" Margin="0,-60,0,0 ">
                <Grid Height="700" Margin="0,-20 " Width="427">
                 <toolkit:ToggleSwitch x:Name="tgSwitchDepart" Header="Lieu de départ" Content="Domicile" Checked="depart_Checked" Unchecked="depart_Unchecked" Margin="0,-6,0,6" />
                 



                </Grid>
               
        </controls:PanoramaItem>
      </controls:Panorama>
       
    </Grid>

    <!--Panorama-based applications should not show an ApplicationBar-->

</phone:PhoneApplicationPage>