diff options
Diffstat (limited to 'general/WinHEC 2017 Lab/Toaster Support App/SharedContent/cpp/MainPage.xaml')
| -rw-r--r-- | general/WinHEC 2017 Lab/Toaster Support App/SharedContent/cpp/MainPage.xaml | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/general/WinHEC 2017 Lab/Toaster Support App/SharedContent/cpp/MainPage.xaml b/general/WinHEC 2017 Lab/Toaster Support App/SharedContent/cpp/MainPage.xaml deleted file mode 100644 index 5179f520..00000000 --- a/general/WinHEC 2017 Lab/Toaster Support App/SharedContent/cpp/MainPage.xaml +++ /dev/null @@ -1,80 +0,0 @@ -<!-- -//********************************************************* -// -// Copyright (c) Microsoft. All rights reserved. -// This code is licensed under the MIT License (MIT). -// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF -// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY -// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR -// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. -// -//********************************************************* ---> - -<Page - x:Class="SDKTemplate.MainPage" - xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - xmlns:local="using:SDKTemplate" - xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - mc:Ignorable="d"> - - <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> - <Grid.RowDefinitions> - <RowDefinition Height="Auto"/> - <RowDefinition Height="*"/> - </Grid.RowDefinitions> - <SplitView x:Name="Splitter" IsPaneOpen="True" Grid.Row="1" DisplayMode="Inline"> - <SplitView.Pane> - <RelativePanel Margin="10,0,0,0"> - <TextBlock x:Name="SampleTitle" Text="Sample Title Here" Style="{StaticResource SampleHeaderTextStyle}" TextWrapping="Wrap" Margin="0,10,0,0"/> - <ListBox x:Name="ScenarioControl" SelectionChanged="ScenarioControl_SelectionChanged" - SelectionMode="Single" HorizontalAlignment="Left" Background="Transparent" BorderThickness="0" - VerticalAlignment="Top" RelativePanel.Below="SampleTitle" Margin="0,10,0,0" RelativePanel.Above="FooterPanel"> - <ListBox.ItemTemplate> - <DataTemplate> - <TextBlock Text="{Binding Converter={StaticResource ScenarioConverter}}"/> - </DataTemplate> - </ListBox.ItemTemplate> - </ListBox> - <StackPanel x:Name="FooterPanel" Orientation="Vertical" RelativePanel.AlignBottomWithPanel="True"> - <Image Source="Assets/microsoft-sdk.png" AutomationProperties.Name="Microsoft Logo" Stretch="None" HorizontalAlignment="Left" Margin="10,0,0,0"/> - <TextBlock x:Name="Copyright" Text="© Microsoft Corporation. All rights reserved." Style="{StaticResource CopyrightTextStyle}" - RelativePanel.Above="LinksPanel" Margin="10,10,0,0" - TextWrapping="Wrap"/> - <StackPanel x:Name="LinksPanel" Orientation="Horizontal" Margin="10,10,0,10"> - <HyperlinkButton Content="Trademarks" Tag="http://go.microsoft.com/fwlink/?LinkID=623755" - Click="Footer_Click" FontSize="12" Style="{StaticResource HyperlinkStyle}" /> - <TextBlock Text="|" Style="{StaticResource SeparatorStyle}" VerticalAlignment="Center" /> - <HyperlinkButton x:Name="PrivacyLink" Content="Privacy" Tag="http://privacy.microsoft.com" Click="Footer_Click" FontSize="12" Style="{StaticResource HyperlinkStyle}"/> - </StackPanel> - </StackPanel> - </RelativePanel> - </SplitView.Pane> - <RelativePanel> - <Frame x:Name="ScenarioFrame" Margin="0,5,0,0" RelativePanel.AlignTopWithPanel="True" RelativePanel.Above="StatusPanel" RelativePanel.AlignRightWithPanel="True" RelativePanel.AlignLeftWithPanel="True"/> - <StackPanel x:Name="StatusPanel" Orientation="Vertical" RelativePanel.AlignBottomWithPanel="True" RelativePanel.AlignRightWithPanel="True" RelativePanel.AlignLeftWithPanel="True"> - <TextBlock x:Name="StatusLabel" Margin="0,0,0,10" TextWrapping="Wrap" Text="Status:" /> - <Border x:Name="StatusBorder" Margin="0,0,0,0" Visibility="Visible" > - <ScrollViewer VerticalScrollMode="Auto" VerticalScrollBarVisibility="Auto" MaxHeight="200"> - <TextBlock x:Name="StatusBlock" FontWeight="Bold" - MaxWidth="{Binding ElementName=Splitter, Path=ActualWidth}" Margin="10,10,10,20" TextWrapping="Wrap" /> - </ScrollViewer> - </Border> - </StackPanel> - </RelativePanel> - </SplitView> - <StackPanel x:Name="HeaderPanel" Orientation="Horizontal"> - <Border Background="{ThemeResource SystemControlBackgroundChromeMediumBrush}" Grid.Row="0"> - <ToggleButton Style="{StaticResource SymbolButton}" Click="Button_Click" VerticalAlignment="Top" Foreground="{ThemeResource ApplicationForegroundThemeBrush}"> - <ToggleButton.Content> - <FontIcon x:Name="Hamburger" FontFamily="Segoe MDL2 Assets" Glyph="" Margin="0,10,0,0"/> - </ToggleButton.Content> - </ToggleButton> - </Border> - <Image x:Name="WindowsLogo" Stretch="None" Source="Assets/windows-sdk.png" Margin="0,15,0,0" /> - <TextBlock x:Name="Header" Text="Universal Windows Platform sample" Style="{StaticResource TagLineTextStyle}" Margin="0,15,0,0" /> - </StackPanel> - </Grid> -</Page> |
