mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
31 lines
1.8 KiB
XML
31 lines
1.8 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:layout="clr-namespace:Artemis.UI.Screens.Workshop.Layout"
|
|
xmlns:controls="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia"
|
|
xmlns:ui="clr-namespace:Artemis.UI"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="800"
|
|
x:Class="Artemis.UI.Screens.Workshop.Layout.LayoutDetailsView"
|
|
x:DataType="layout:LayoutDetailsViewModel">
|
|
<Grid ColumnDefinitions="300,*, 300" RowDefinitions="Auto,*">
|
|
<StackPanel Grid.Row="1" Grid.Column="0" Spacing="10">
|
|
<Border Classes="card" VerticalAlignment="Top">
|
|
<ContentControl Content="{CompiledBinding EntryInfoViewModel}" />
|
|
</Border>
|
|
<Border Classes="card" VerticalAlignment="Top" IsVisible="{CompiledBinding Entry.Releases.Count, FallbackValue=False}">
|
|
<ContentControl Content="{CompiledBinding EntryReleasesViewModel}" />
|
|
</Border>
|
|
</StackPanel>
|
|
|
|
<ScrollViewer Grid.Row="1" Grid.Column="1">
|
|
<controls:Frame Name="RouterFrame" IsNavigationStackEnabled="False" CacheSize="0" Margin="10 0">
|
|
<controls:Frame.NavigationPageFactory>
|
|
<ui:PageFactory />
|
|
</controls:Frame.NavigationPageFactory>
|
|
</controls:Frame>
|
|
</ScrollViewer>
|
|
|
|
<ContentControl Grid.Row="1" Grid.Column="2" IsVisible="{CompiledBinding Entry.Images.Count}" Content="{CompiledBinding EntryImagesViewModel}" />
|
|
</Grid>
|
|
</UserControl> |