47 lines
2.4 KiB
XML
47 lines
2.4 KiB
XML
<phone:PhoneApplicationPage
|
|
x:Class="CampusAppWP8.Pages.TimeTable.TimeTableWeek"
|
|
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:templ="clr-namespace:CampusAppWP8.Utility.Lui.Templates"
|
|
xmlns:header="clr-namespace:CampusAppWP8.Utility.Lui.Header"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
|
FontSize="{StaticResource PhoneFontSizeNormal}"
|
|
Foreground="{StaticResource PhoneForegroundBrush}"
|
|
SupportedOrientations="PortraitOrLandscape" Orientation="Landscape"
|
|
mc:Ignorable="d"
|
|
shell:SystemTray.IsVisible="True"
|
|
OrientationChanged="PhoneApplicationPage_OrientationChanged">
|
|
|
|
<!--LayoutRoot ist das Stammraster, in dem alle anderen Seiteninhalte platziert werden-->
|
|
<Grid x:Name="LayoutRoot" Background="Transparent">
|
|
<phone:Pivot x:Name="ThePivot" SelectionChanged="OnPivotSelectionChanged">
|
|
<phone:Pivot.HeaderTemplate>
|
|
<DataTemplate>
|
|
<TextBlock Text="header" Visibility="Collapsed"/>
|
|
</DataTemplate>
|
|
</phone:Pivot.HeaderTemplate>
|
|
<phone:Pivot.ItemTemplate>
|
|
<DataTemplate>
|
|
<templ:WeekView
|
|
x:Name="TheWeekView"
|
|
Margin="0,-36,0,0"
|
|
DateFrom="{Binding Path=FromDT, Mode=OneWay}"
|
|
WeekName="{Binding Path=WeekStr, Mode=OneWay}"
|
|
Appointments="{Binding Path=AppointmentList, Mode=OneWay}"
|
|
WeekNumber="{Binding Path=WeekNr, Mode=OneWay}"
|
|
Days="5"
|
|
ToDayColoring="True"
|
|
SelectedDay="{Binding Path=SelectedDay, Mode=TwoWay}"/>
|
|
</DataTemplate>
|
|
</phone:Pivot.ItemTemplate>
|
|
</phone:Pivot>
|
|
</Grid>
|
|
|
|
<phone:PhoneApplicationPage.ApplicationBar>
|
|
<shell:ApplicationBar IsVisible="True" IsMenuEnabled="False" Mode="Default" Opacity="1.0" />
|
|
</phone:PhoneApplicationPage.ApplicationBar>
|
|
</phone:PhoneApplicationPage> |