VaultPage.xaml (3817B)
1 <Page 2 x:Class="File360.VaultPage" 3 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 4 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 5 xmlns:local="using:File360" 6 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 7 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 8 mc:Ignorable="d" 9 RequestedTheme="Dark" 10 Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" FontSize="33.333"> 11 <Page.Resources> 12 <Storyboard x:Name="AuthenticationFailed" AutoReverse="True" RepeatBehavior="1x"> 13 <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="image"> 14 <SplineDoubleKeyFrame KeyTime="0" Value="0"/> 15 <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="15"> 16 <EasingDoubleKeyFrame.EasingFunction> 17 <QuarticEase EasingMode="EaseIn"/> 18 </EasingDoubleKeyFrame.EasingFunction> 19 </EasingDoubleKeyFrame> 20 <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="-15"> 21 <EasingDoubleKeyFrame.EasingFunction> 22 <QuadraticEase EasingMode="EaseInOut"/> 23 </EasingDoubleKeyFrame.EasingFunction> 24 </EasingDoubleKeyFrame> 25 </DoubleAnimationUsingKeyFrames> 26 </Storyboard> 27 </Page.Resources> 28 29 30 <Grid> 31 <Grid> 32 <Grid.RowDefinitions> 33 <RowDefinition Height="*"/> 34 <RowDefinition Height="1.5*"/> 35 </Grid.RowDefinitions> 36 <Grid> 37 <Image x:Name="image" Margin="45" Source="Assets/SmallLogo.png" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5"> 38 <Image.RenderTransform> 39 <CompositeTransform/> 40 </Image.RenderTransform> 41 </Image> 42 </Grid> 43 <Grid Grid.Row="1"> 44 <Grid.Background> 45 <SolidColorBrush Color="{ThemeResource PhoneChromeColor}"/> 46 </Grid.Background> 47 <Grid.RowDefinitions> 48 <RowDefinition Height="1.5*"/> 49 <RowDefinition Height="5*"/> 50 </Grid.RowDefinitions> 51 <TextBox x:Name="passwordBox" InputScope="Number" VerticalAlignment="Stretch" BorderBrush="{x:Null}" Foreground="White" PlaceholderText="" FontSize="26.667" MaxLength="4" TextAlignment="Center" Style="{StaticResource PasswordTextBox}" Background="{x:Null}" TextChanged="passwordBox_TextChanged" LostFocus="passwordBox_LostFocus"/> 52 <!--<TextBlock x:Name="passwordBox" Text="" CharacterSpacing="1000" FontWeight="Bold" VerticalAlignment="Stretch" MaxLines="1"/>--> 53 <!--<Grid x:Name="passwordGrid" Grid.Row="1"> 54 <Grid.RowDefinitions> 55 <RowDefinition Height="*"/> 56 <RowDefinition Height="*"/> 57 <RowDefinition Height="*"/> 58 <RowDefinition Height="*"/> 59 </Grid.RowDefinitions> 60 <Grid.ColumnDefinitions> 61 <ColumnDefinition Width="*"/> 62 <ColumnDefinition Width="*"/> 63 <ColumnDefinition Width="*"/> 64 </Grid.ColumnDefinitions> 65 </Grid>--> 66 <Grid Grid.Row="1" Tapped="Grid_Tapped"> 67 <Grid.Background> 68 <SolidColorBrush Color="{ThemeResource PhoneChromeColor}"/> 69 </Grid.Background> 70 </Grid> 71 </Grid> 72 </Grid> 73 </Grid> 74 </Page>