2019-11-30 09:08:04 +00:00
|
|
|
<UserControl
|
|
|
|
x:Class="Wabbajack.ModListGalleryView"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
|
|
|
|
xmlns:local="clr-namespace:Wabbajack"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:system="clr-namespace:System;assembly=mscorlib"
|
|
|
|
d:DesignHeight="450"
|
|
|
|
d:DesignWidth="800"
|
|
|
|
mc:Ignorable="d">
|
2019-11-09 13:30:36 +00:00
|
|
|
<Grid>
|
2019-11-30 09:08:04 +00:00
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="47" />
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Rectangle
|
|
|
|
Grid.Row="1"
|
|
|
|
Grid.RowSpan="3"
|
|
|
|
Margin="6,0">
|
|
|
|
<Rectangle.Fill>
|
|
|
|
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
|
|
|
|
<GradientStop Offset="0" Color="#123700B3" />
|
|
|
|
<GradientStop Offset="1" Color="#00000000" />
|
|
|
|
</LinearGradientBrush>
|
|
|
|
</Rectangle.Fill>
|
|
|
|
</Rectangle>
|
|
|
|
<Border
|
|
|
|
Grid.Row="1"
|
|
|
|
BorderBrush="Transparent"
|
|
|
|
BorderThickness="1,0,1,1">
|
|
|
|
<ScrollViewer Background="Transparent" VerticalScrollBarVisibility="Auto">
|
2019-11-09 13:30:36 +00:00
|
|
|
<ItemsControl
|
2019-11-30 09:08:04 +00:00
|
|
|
Margin="0,10,0,0"
|
2019-11-09 13:30:36 +00:00
|
|
|
HorizontalAlignment="Center"
|
2019-11-30 09:08:04 +00:00
|
|
|
ItemsSource="{Binding ModLists}">
|
2019-11-09 13:30:36 +00:00
|
|
|
<ItemsControl.ItemsPanel>
|
|
|
|
<ItemsPanelTemplate>
|
2019-11-30 09:08:04 +00:00
|
|
|
<WrapPanel />
|
2019-11-09 13:30:36 +00:00
|
|
|
</ItemsPanelTemplate>
|
|
|
|
</ItemsControl.ItemsPanel>
|
|
|
|
<ItemsControl.ItemTemplate>
|
2019-11-30 09:08:04 +00:00
|
|
|
<DataTemplate>
|
2020-01-14 04:12:24 +00:00
|
|
|
<local:ModListTileView ViewModel="{Binding}" />
|
2019-11-30 09:08:04 +00:00
|
|
|
</DataTemplate>
|
2019-11-09 13:30:36 +00:00
|
|
|
</ItemsControl.ItemTemplate>
|
2019-11-30 09:08:04 +00:00
|
|
|
</ItemsControl>
|
|
|
|
</ScrollViewer>
|
|
|
|
</Border>
|
|
|
|
<local:TopProgressView
|
|
|
|
Title="Browsing Modlists"
|
|
|
|
Grid.Row="0"
|
|
|
|
Grid.RowSpan="2"
|
|
|
|
ShadowMargin="False" />
|
|
|
|
<Button
|
|
|
|
x:Name="BackButton"
|
|
|
|
Grid.Row="0"
|
|
|
|
Width="30"
|
|
|
|
Height="30"
|
|
|
|
Margin="7,5,0,0"
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
Command="{Binding BackCommand}"
|
|
|
|
Style="{StaticResource IconCircleButtonStyle}"
|
|
|
|
ToolTip="Back to main menu">
|
|
|
|
<iconPacks:PackIconMaterial Foreground="{Binding Foreground, RelativeSource={RelativeSource AncestorType={x:Type Button}}}" Kind="ArrowLeft" />
|
|
|
|
</Button>
|
2019-11-09 13:30:36 +00:00
|
|
|
</Grid>
|
|
|
|
</UserControl>
|