mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
35 lines
1.9 KiB
XML
35 lines
1.9 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:profile="clr-namespace:Artemis.UI.Screens.Workshop.Profile"
|
|
xmlns:mdxaml="https://github.com/whistyun/Markdown.Avalonia.Tight"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="Artemis.UI.Screens.Workshop.Profile.ProfileDescriptionView"
|
|
x:DataType="profile:ProfileDescriptionViewModel">
|
|
<StackPanel Spacing="10">
|
|
<Border Classes="card">
|
|
<mdxaml:MarkdownScrollViewer Markdown="{CompiledBinding Entry.Description}" MarkdownStyleName="FluentAvalonia" Name="MarkdownScrollViewer" >
|
|
<mdxaml:MarkdownScrollViewer.Styles>
|
|
<StyleInclude Source="/Styles/Markdown.axaml" />
|
|
</mdxaml:MarkdownScrollViewer.Styles>
|
|
</mdxaml:MarkdownScrollViewer>
|
|
</Border>
|
|
|
|
<Border Classes="card" VerticalAlignment="Top" IsVisible="{CompiledBinding Dependencies, Converter={x:Static ObjectConverters.IsNotNull}}">
|
|
<StackPanel>
|
|
<TextBlock Theme="{StaticResource SubtitleTextBlockStyle}">Required plugins</TextBlock>
|
|
<Border Classes="card-separator" />
|
|
<ScrollViewer>
|
|
<ItemsControl ItemsSource="{CompiledBinding Dependencies}">
|
|
<ItemsControl.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<StackPanel Spacing="5"></StackPanel>
|
|
</ItemsPanelTemplate>
|
|
</ItemsControl.ItemsPanel>
|
|
</ItemsControl>
|
|
</ScrollViewer>
|
|
</StackPanel>
|
|
</Border>
|
|
</StackPanel>
|
|
</UserControl> |