mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-23 01:59:32 +08:00
29 lines
1.4 KiB
XML
29 lines
1.4 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"
|
|
xmlns:controls="clr-namespace:System.Application.UI.Views.Controls"
|
|
xmlns:converters="clr-namespace:System.Application.Converters"
|
|
mc:Ignorable="d"
|
|
Width="150"
|
|
Height="225"
|
|
Background="Transparent"
|
|
x:Class="System.Application.UI.Views.Controls.PaperView">
|
|
<UserControl.Resources>
|
|
<converters:IsNullConverter x:Key="IsNullConverter" />
|
|
<converters:CardTitleToPlaceholderConverter x:Key="CardTitleToPlaceholderConverter" />
|
|
</UserControl.Resources>
|
|
<StackPanel Margin="20" Spacing="8">
|
|
<DockPanel LastChildFill="True">
|
|
<Border DockPanel.Dock="Top" Classes="paper">
|
|
<Panel Width="200" ContextMenu="{Binding ContextMenu}">
|
|
<Image Width="200" Stretch="Uniform" Source="{Binding Logo}" />
|
|
</Panel>
|
|
</Border>
|
|
</DockPanel>
|
|
|
|
<controls:ScrollingTextBlock Width="200" Text="{Binding Title}" FontSize="12" FontWeight="Bold" Foreground="#F9F9F9" />
|
|
<controls:ScrollingTextBlock Width="200" Text="{Binding Content}" FontSize="10" Foreground="#A1A1A1" />
|
|
</StackPanel>
|
|
</UserControl>
|