/
githubmirror
/
Files
Обзор
Документация
Войти
/
githubmirror
/
Files
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Files.App/Views/SplashScreenPage.xaml
61 строка
2 KB
Yair
Code Quality: Updated license header
31 дек 2024, 05:03
31 дек 2024, 05:03
8436c6d
Код
Авторство
О чём код?
<!-- Copyright (c) Files Community. Licensed under the MIT License. --> <Page x:Class="Files.App.Views.SplashScreenPage" 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" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" mc:Ignorable="d"> <Grid> <!-- Splash Screen Image --> <Viewbox x:Name="SplashScreenImageViewbox" Width="620" Height="300" HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="None"> <Image x:Name="SplashScreenImage" ImageFailed="Image_ImageFailed" ImageOpened="Image_ImageOpened" Source="\Assets\AppTiles\Dev\SplashScreen.png" /> </Viewbox> <!-- Branch Label --> <TextBlock x:Name="SplashScreenBranchLabel" Margin="0,164,0,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="20" Foreground="{ThemeResource TextFillColorTertiaryBrush}" LineHeight="32"> <Run FontWeight="SemiBold" Text="Files" /> <Run FontWeight="SemiLight" Text="{x:Bind BranchLabel, Mode=OneTime}" /> </TextBlock> <!-- Loading Indicator --> <ProgressRing x:Name="SplashScreenLoadingProgressRing" Margin="0,0,0,48" VerticalAlignment="Bottom" Foreground="{ThemeResource ApplicationForegroundThemeBrush}" IsIndeterminate="True" /> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="SizeChangesState"> <VisualState> <VisualState.StateTriggers> <AdaptiveTrigger MinWindowHeight="500" /> </VisualState.StateTriggers> <VisualState.Setters> <Setter Target="SplashScreenLoadingProgressRing.Margin" Value="0,0,0,88" /> </VisualState.Setters> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> </Grid> </Page>