mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-23 01:59:32 +08:00
47 lines
2.1 KiB
XML
47 lines
2.1 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
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"
|
|
Width="150"
|
|
Height="225"
|
|
Background="Transparent"
|
|
x:Class="System.Application.UI.Views.Controls.CardView">
|
|
<UserControl.Styles>
|
|
<Style Selector="Image:pointerover">
|
|
<Style.Animations>
|
|
<Animation Duration="0:0:0.15" FillMode="Forward">
|
|
<KeyFrame Cue="0%">
|
|
<Setter Property="Width" Value="150"/>
|
|
<Setter Property="Height" Value="225"/>
|
|
</KeyFrame>
|
|
<KeyFrame Cue="100%">
|
|
<Setter Property="Width" Value="160"/>
|
|
<Setter Property="Height" Value="245"/>
|
|
</KeyFrame>
|
|
</Animation>
|
|
</Style.Animations>
|
|
</Style>
|
|
<Style Selector="Border">
|
|
<Style.Animations>
|
|
<Animation Duration="0:0:0.1" FillMode="Forward">
|
|
<KeyFrame Cue="0%">
|
|
<Setter Property="BorderBrush" Value="#FF2F2F37"/>
|
|
<Setter Property="BorderThickness" Value=".88"/>
|
|
</KeyFrame>
|
|
<KeyFrame Cue="100%">
|
|
<Setter Property="BorderBrush" Value="#FF616167"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
</KeyFrame>
|
|
</Animation>
|
|
</Style.Animations>
|
|
</Style>
|
|
</UserControl.Styles>
|
|
<Border>
|
|
<Panel>
|
|
<Image Source="avares://System.Application.SteamTools.Client.Desktop.Avalonia/Application/UI/Assets/AppResources/app.png"></Image>
|
|
<Label IsHitTestVisible="False" Content="Test" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontSize="18"></Label>
|
|
</Panel>
|
|
</Border>
|
|
</UserControl>
|