mirror of
https://github.com/jayfunc/BetterLyrics.git
synced 2026-01-13 03:34:55 +08:00
30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<UserControl
|
|
x:Class="BetterLyrics.WinUI3.Controls.ImageSwitcher"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:const="using:BetterLyrics.WinUI3.Constants"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="using:BetterLyrics.WinUI3.Controls"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d">
|
|
|
|
<Grid>
|
|
<Grid.OpacityTransition>
|
|
<ScalarTransition Duration="{x:Bind const:Time.AnimationDuration}" />
|
|
</Grid.OpacityTransition>
|
|
<local:ShadowImage
|
|
x:Name="LastAlbumArtImage"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
CornerRadiusAmount="{x:Bind CornerRadiusAmount, Mode=OneWay}"
|
|
ShadowAmount="{x:Bind ShadowAmount, Mode=OneWay}" />
|
|
<local:ShadowImage
|
|
x:Name="AlbumArtImage"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
CornerRadiusAmount="{x:Bind CornerRadiusAmount, Mode=OneWay}"
|
|
ShadowAmount="{x:Bind ShadowAmount, Mode=OneWay}" />
|
|
</Grid>
|
|
</UserControl>
|