Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8e9478
commit b87510c
Showing
4 changed files
with
252 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,214 @@ | ||
<Page | ||
x:Class="Blank10.Views.AltPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:Blank10.Views" | ||
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}"> | ||
<VisualStateManager.VisualStateGroups> | ||
<VisualStateGroup x:Name="VisualStateGroup"> | ||
<VisualState x:Name="VisualState000min"> | ||
<VisualState.StateTriggers> | ||
<AdaptiveTrigger MinWindowWidth="0" /> | ||
</VisualState.StateTriggers> | ||
<Storyboard> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="ContentImage"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<x:Double>250</x:Double> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" Storyboard.TargetName="ContentImage"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<x:Double>150</x:Double> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Image.Stretch)" Storyboard.TargetName="ContentImage"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<Stretch>UniformToFill</Stretch> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="ContentScrollviewer"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<x:Int32>0</x:Int32> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="ContentScrollviewer"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<x:Int32>2</x:Int32> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.MaxWidth)" Storyboard.TargetName="ContentScrollviewer"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<x:Double>350</x:Double> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
<DoubleAnimation Duration="0" To="21.333" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="ContentTitle" d:IsOptimized="True"/> | ||
</Storyboard> | ||
</VisualState> | ||
<VisualState x:Name="VisualState500min"> | ||
<VisualState.StateTriggers> | ||
<AdaptiveTrigger MinWindowWidth="501" /> | ||
</VisualState.StateTriggers> | ||
<Storyboard> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="ContentImage"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<x:Double>200</x:Double> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
<DoubleAnimation Duration="0" To="24" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="ContentTitle" d:IsOptimized="True"/> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.MaxWidth)" Storyboard.TargetName="ContentScrollviewer"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<x:Double>588</x:Double> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)" Storyboard.TargetName="ContentScrollviewer"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<HorizontalAlignment>Left</HorizontalAlignment> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
</Storyboard> | ||
</VisualState> | ||
<VisualState x:Name="VisualState800min"> | ||
<VisualState.StateTriggers> | ||
<AdaptiveTrigger MinWindowWidth="801" /> | ||
</VisualState.StateTriggers> | ||
<Storyboard> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="ContentImage"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<x:Double>250</x:Double> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
<DoubleAnimation Duration="0" To="26.667" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="ContentTitle" d:IsOptimized="True"/> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)" Storyboard.TargetName="ContentScrollviewer"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<HorizontalAlignment>Left</HorizontalAlignment> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.MaxWidth)" Storyboard.TargetName="ContentScrollviewer"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<x:Double>788</x:Double> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
</Storyboard> | ||
</VisualState> | ||
<VisualState x:Name="VisualState1000min"> | ||
<VisualState.StateTriggers> | ||
<AdaptiveTrigger MinWindowWidth="1001" /> | ||
</VisualState.StateTriggers> | ||
<Storyboard> | ||
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.MaxWidth)" Storyboard.TargetName="ContentScrollviewer"> | ||
<DiscreteObjectKeyFrame KeyTime="0"> | ||
<DiscreteObjectKeyFrame.Value> | ||
<x:Double>1024</x:Double> | ||
</DiscreteObjectKeyFrame.Value> | ||
</DiscreteObjectKeyFrame> | ||
</ObjectAnimationUsingKeyFrames> | ||
</Storyboard> | ||
</VisualState> | ||
</VisualStateGroup> | ||
</VisualStateManager.VisualStateGroups> | ||
|
||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="Auto" /> | ||
<ColumnDefinition /> | ||
</Grid.ColumnDefinitions> | ||
|
||
<Grid.RowDefinitions> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition /> | ||
</Grid.RowDefinitions> | ||
|
||
<TextBlock x:Name="Text00" | ||
Foreground="SteelBlue" Text="Screen size" /> | ||
|
||
<Image Source="ms-appx:///Images/cat.jpg" | ||
Grid.Row="1" Grid.Column="0" | ||
x:Name="ContentImage" Stretch="Uniform" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,12,0" /> | ||
|
||
|
||
<ScrollViewer x:Name="ContentScrollviewer" | ||
Grid.Row="1" Grid.Column="1"> | ||
|
||
<StackPanel> | ||
|
||
<TextBlock FontSize="32" TextWrapping="Wrap" | ||
Foreground="Goldenrod" x:Name="ContentTitle"> | ||
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium | ||
</TextBlock> | ||
|
||
<RichTextBlock x:Name="ContentBody" FontSize="18" TextWrapping="Wrap" Foreground="DimGray"> | ||
<Paragraph LineStackingStrategy="MaxHeight"> | ||
<InlineUIContainer> | ||
<Grid Height="50" Width="50" Margin="0,0,12,0" Background="SteelBlue"> | ||
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White" FontSize="28">L</TextBlock> | ||
</Grid> | ||
</InlineUIContainer> | ||
<Run> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | ||
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris | ||
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate | ||
velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, | ||
sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</Run> | ||
</Paragraph> | ||
<Paragraph/> | ||
<Paragraph Margin="12,0,0,0" x:Name="SnappointText"> | ||
<Run Text="Snappoints" FontWeight="Black" /> | ||
<LineBreak /> | ||
<Run Text="➤ 0-500 epx" /> | ||
<LineBreak /> | ||
<Run Text="➤ 500-800 epx" /> | ||
<LineBreak /> | ||
<Run Text="➤ 800-1000 epx" /> | ||
<LineBreak /> | ||
<Run Text="➤ 1000+ epx" /> | ||
</Paragraph> | ||
<Paragraph/> | ||
<Paragraph> | ||
<Run> | ||
Sit voluptatem accusantium doloremque laudantium, | ||
totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae | ||
dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, | ||
sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam | ||
est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam | ||
eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad | ||
minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid | ||
ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse | ||
quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? | ||
</Run> | ||
</Paragraph> | ||
</RichTextBlock> | ||
|
||
</StackPanel> | ||
</ScrollViewer> | ||
|
||
</Grid> | ||
</Page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Runtime.InteropServices.WindowsRuntime; | ||
using Windows.Foundation; | ||
using Windows.Foundation.Collections; | ||
using Windows.UI.Xaml; | ||
using Windows.UI.Xaml.Controls; | ||
using Windows.UI.Xaml.Controls.Primitives; | ||
using Windows.UI.Xaml.Data; | ||
using Windows.UI.Xaml.Input; | ||
using Windows.UI.Xaml.Media; | ||
using Windows.UI.Xaml.Navigation; | ||
|
||
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 | ||
|
||
namespace Blank10.Views | ||
{ | ||
/// <summary> | ||
/// An empty page that can be used on its own or navigated to within a Frame. | ||
/// </summary> | ||
public sealed partial class AltPage : Page | ||
{ | ||
public AltPage() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
} | ||
} |