

Nextrek
@ 58
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
<UserControl x:Class="NotizieTL.AnimatedSplashScreen" xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="{StaticResource PhoneFontSizeNormal}" Foreground="{StaticResource PhoneForegroundBrush}" d:DesignHeight="480" d:DesignWidth="480" Height="800"> <UserControl.Resources> <Storyboard x:Key="flippingAnimation" > <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)" Storyboard.TargetName="logoImage"> <EasingDoubleKeyFrame KeyTime="0" Value="0"/> <EasingDoubleKeyFrame KeyTime="0:0:1" Value="1"/> <EasingDoubleKeyFrame KeyTime="0:0:2" Value="360"/> </DoubleAnimationUsingKeyFrames> <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="text"> <DiscreteObjectKeyFrame KeyTime="0"> <DiscreteObjectKeyFrame.Value> <SolidColorBrush Color="White"/> </DiscreteObjectKeyFrame.Value> </DiscreteObjectKeyFrame> <DiscreteObjectKeyFrame KeyTime="0:0:1"> <DiscreteObjectKeyFrame.Value> <SolidColorBrush Color="Gray"/> </DiscreteObjectKeyFrame.Value> </DiscreteObjectKeyFrame> </ObjectAnimationUsingKeyFrames> </Storyboard> </UserControl.Resources> <StackPanel x:Name="LayoutRoot" Background="white" Height="800" Width="480"> <Image Source="iconaLARGE.png" Height="250" Width="250" x:Name="logoImage" Stretch="Uniform" Margin="-150,50,0,0"> <Image.Projection> <PlaneProjection/> </Image.Projection> </Image> <TextBlock Text="POWERED BY NEXTREK" HorizontalAlignment="Right" x:Name="text" Foreground="Silver" FontSize="20" FontWeight="Bold" TextWrapping="Wrap" Margin="0,0,150,0"/> <toolkit:PerformanceProgressBar IsIndeterminate="True" Foreground="{StaticResource PhoneAccentBrush}" Margin="0,120,0,0" /> <Image Width="130" Height="130" Margin="350,220,0,0" Source="/NotizieTL;component/images/ic_logo_loader2.png"> </Image> </StackPanel> </UserControl> |