Ai
2 Star 8 Fork 6

CookCSharp/CookPopularInstaller

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CustomSplashScreen.xaml 3.78 KB
一键复制 编辑 原始数据 按行查看 历史
写代码的厨子 提交于 2025-05-30 17:49 +08:00 . 完成CookPopularInstaller.Generate
<UserControl x:Class="CookPopularInstaller.Generate.CustomSplashScreen"
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"
xmlns:ui="https://github.cookpopularui/2021/xaml"
mc:Ignorable="d"
d:DesignHeight="360"
d:DesignWidth="580"
Width="580"
Height="360"
Foreground="{StaticResource {x:Static SystemColors.ControlTextBrushKey}}"
SnapsToDevicePixels="True"
DataContext="{Binding RelativeSource={RelativeSource Self}}"
TextOptions.TextFormattingMode="Display"
TextOptions.TextRenderingMode="ClearType"
UseLayoutRounding="True">
<ui:SimpleGrid>
<ui:SimpleGrid.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Offset="0" Color="Aqua" />
<GradientStop Offset="0.5" Color="BlanchedAlmond" />
<GradientStop Offset="1" Color="DarkSalmon" />
</LinearGradientBrush>
</ui:SimpleGrid.Background>
<StackPanel VerticalAlignment="Center">
<Border Width="60" Height="60">
<Border.Background>
<DrawingBrush Stretch="Uniform">
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<DrawingGroup>
<DrawingGroup.Children>
<DrawingGroup>
<DrawingGroup.Transform>
<MatrixTransform Matrix="1,0,0,1,0,0" />
</DrawingGroup.Transform>
<DrawingGroup.Children>
<ImageDrawing ImageSource="Assets\Images\company.png" Rect="0,0,92,84" />
</DrawingGroup.Children>
</DrawingGroup>
</DrawingGroup.Children>
</DrawingGroup>
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
</Border.Background>
</Border>
<!--<Viewbox Width="60" Height="60" Margin="0,0,0,15">
<Path Data="{StaticResource AppLogoGeometry}" Fill="{StaticResource CompanyLogoFillBrush}" Stretch="UniformToFill">
<Path.LayoutTransform>
<MatrixTransform Matrix="1.3333,0,0,1.3333,0,-1.08832" />
</Path.LayoutTransform>
</Path>
</Viewbox>-->
<TextBlock Text="写代码的厨子"
Foreground="Orange"
FontSize="22" FontWeight="ExtraBold"
Margin="0,10"
HorizontalAlignment="Center" VerticalAlignment="Center"
FontStretch="UltraExpanded" />
<TextBlock Text="Copyright © 2021 CookCSharp. All Rights Reserved"
Foreground="#4A4A4A"
FontSize="16" FontWeight="ExtraBold"
HorizontalAlignment="Center" VerticalAlignment="Center"
FontStretch="UltraExpanded" />
</StackPanel>
</ui:SimpleGrid>
</UserControl>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/CookCSharp/CookPopularInstaller.git
git@gitee.com:CookCSharp/CookPopularInstaller.git
CookCSharp
CookPopularInstaller
CookPopularInstaller
master

搜索帮助