diff options
Diffstat (limited to 'winrt/winapp/MainPage.xaml')
-rw-r--r-- | winrt/winapp/MainPage.xaml | 116 |
1 files changed, 0 insertions, 116 deletions
diff --git a/winrt/winapp/MainPage.xaml b/winrt/winapp/MainPage.xaml deleted file mode 100644 index 011bd8d7..00000000 --- a/winrt/winapp/MainPage.xaml +++ /dev/null @@ -1,116 +0,0 @@ -<Page - x:Class="winapp.MainPage" - xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - xmlns:local="using:winapp" - xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - mc:Ignorable="d"> - - <Page.BottomAppBar> - <AppBar> - <Grid Margin="38,0,0,0"> - <Grid.ColumnDefinitions> - <ColumnDefinition Width="*"/> - <ColumnDefinition Width="Auto"/> - </Grid.ColumnDefinitions> - <Slider x:Name="xaml_PageSlider" Minimum="0" Maximum="10" ValueChanged="Slider_ValueChanged" LostFocus="Slider_Released" Grid.Column="0" Margin="10,0" VerticalAlignment="Center" /> - <Button x:Name="Find_File" Style="{StaticResource OpenFileAppBarButtonStyle}" Tag="OpenFile" HorizontalAlignment="Right" Grid.Column="1" Click="Picker"/> - </Grid> - </AppBar> - </Page.BottomAppBar> - <Page.TopAppBar> - <AppBar x:Name="TopAppBar1" AutomationProperties.Name="Top App Bar" Loaded="topAppBar_Loaded"> - <Grid> - <Grid.RowDefinitions> - <RowDefinition Height="Auto"/> - <RowDefinition Height="Auto"/> - </Grid.RowDefinitions> - <StackPanel x:Name="LeftPanel" Orientation="Horizontal"> - </StackPanel> - <StackPanel x:Name="RightPanel" Orientation="Horizontal" HorizontalAlignment="Right"> - <Button x:Name="Search" Style="{StaticResource SearchAppBarButtonStyle}" Tag="Search" Click="Searcher"/> - <Button x:Name="Contents" Style="{StaticResource ContentsBarButtonStyle}" Tag="Contents" Click="ContentDisplay"/> - <Button x:Name="Links" Style="{StaticResource LinksAppBarButtonStyle}" Tag="Links" Click="Linker"/> - <Button x:Name="Reflow" Style="{StaticResource ReflowAppBarButtonStyle}" Tag="Reflow" Click="Reflower"/> - <Button x:Name="Help" Style="{StaticResource HelpAppBarButtonStyle}" Tag="Help"/> - </StackPanel> - </Grid> - </AppBar> - </Page.TopAppBar> - - <Grid x:Name="xaml_OutsideGrid"> - <Grid.Background> - <LinearGradientBrush EndPoint="-0.074,-0.068" StartPoint="1.027,1.024"> - <GradientStop Color="Black"/> - <GradientStop Color="White"/> - <GradientStop Color="White" Offset="0.919"/> - <GradientStop Color="#FFCDCDCD" Offset="0.741"/> - <GradientStop Color="#FF909090" Offset="0.524"/> - <GradientStop Color="#FF737373" Offset="0.421"/> - <GradientStop Color="#FF2A2A2A" Offset="0.155"/> - <GradientStop Color="#FF1A1A1A" Offset="0.097"/> - <GradientStop Color="#FF040404" Offset="0.018"/> - <GradientStop Color="#FFB3B3B3" Offset="0.651"/> - <GradientStop Color="#FF989898" Offset="0.556"/> - <GradientStop Color="#FF666666" Offset="0.375"/> - <GradientStop Color="#FF4B4B4B" Offset="0.278"/> - <GradientStop Color="#FF3A3A3A" Offset="0.215"/> - </LinearGradientBrush> - </Grid.Background> - - <ProgressBar x:Name="xaml_Progress" IsIndeterminate="False" Maximum="100" Value="0" Height="10" Width="400" IsEnabled="False" Opacity="0"/> - - <Grid x:Name="xaml_MainGrid" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" SizeChanged="GridSizeChanged"> - <Canvas x:Name="xaml_zoomCanvas" HorizontalAlignment="Center" VerticalAlignment="Center" DoubleTapped="Canvas_Double" - ManipulationDelta="Canvas_ManipulationDelta" ManipulationStarted="Canvas_ManipulationStarted" - ManipulationStarting="Canvas_ManipulationStarting" ManipulationCompleted="Canvas_ManipulationCompleted" - ManipulationMode="All" IsTapEnabled="True" Tapped="Canvas_Single_Tap"> - <FlipView x:Name="xaml_horiz_flipView" SelectionChanged="FlipView_SelectionChanged" DoubleTapped="FlipView_Double" VerticalAlignment="Center" - HorizontalAlignment="Center"> - <FlipView.ItemsPanel> - <ItemsPanelTemplate> - <VirtualizingStackPanel Orientation="Horizontal"/> - </ItemsPanelTemplate> - </FlipView.ItemsPanel> - </FlipView> - - <FlipView x:Name="xaml_vert_flipView" SelectionChanged="FlipView_SelectionChanged" DoubleTapped="FlipView_Double" VerticalAlignment="Center" - HorizontalAlignment="Center" IsEnabled="False" Opacity="0"> - <FlipView.ItemsPanel> - <ItemsPanelTemplate> - <VirtualizingStackPanel Orientation="Vertical"/> - </ItemsPanelTemplate> - </FlipView.ItemsPanel> - </FlipView> - - </Canvas> - <ListView x:Name="xaml_ListView" Foreground="Black" HorizontalAlignment="Stretch" - VerticalAlignment="Stretch" Opacity="0" IsItemClickEnabled="True" - ItemClick="ContentSelected" SelectionMode="Single" IsEnabled="False"> - - <ListView.ItemTemplate> - <DataTemplate> - <StackPanel Margin="5,5,0,0" HorizontalAlignment="Left"> - <TextBlock TextWrapping="Wrap" Text="{Binding ContentItem}" FontFamily="Segoe UI" FontSize="20" /> - </StackPanel> - </DataTemplate> - </ListView.ItemTemplate> - - <ListView.Background> - <SolidColorBrush Color="LightGray"></SolidColorBrush> - </ListView.Background> - </ListView> - </Grid> - <StackPanel x:Name="xaml_RichGrid" Orientation="Vertical" Margin="5,5,5,50" - Width="Auto" Height="Auto" Visibility="Collapsed"> - <TextBlock HorizontalAlignment="Center" Text="FontSize:" FontSize="18" Margin="0, 10, 0, -10"/> - <Slider x:Name="fontSizeSlider" Width="200" Value="20" Minimum="8" Maximum="40" - TickFrequency="4" Orientation="Horizontal" HorizontalAlignment="Center" /> - <RichEditBox x:Name="xaml_RichText" FontSize="{Binding Value, ElementName=fontSizeSlider}" - Visibility="Collapsed" HorizontalAlignment="Center" - VerticalAlignment="Top"> - </RichEditBox> - </StackPanel> - </Grid> -</Page> |