mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
60 lines
3.0 KiB
XML
60 lines
3.0 KiB
XML
<rxui:ReactiveUserControl
|
|
x:Class="Wabbajack.ModListContentsView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:Wabbajack"
|
|
xmlns:rxui="http://reactiveui.net"
|
|
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
|
|
xmlns:viewModels="clr-namespace:Wabbajack.View_Models"
|
|
x:TypeArguments="viewModels:ModListContentsVM"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="300" d:DesignWidth="300">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="47"></RowDefinition>
|
|
<RowDefinition Height="*"></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
<local:TopProgressView Grid.Row="0" Grid.RowSpan="2"
|
|
x:Name="ModListTitle"
|
|
ShadowMargin="False" />
|
|
<WrapPanel Grid.Row="0"
|
|
Height="25"
|
|
Margin="5,5,5,10"
|
|
HorizontalAlignment="Right"
|
|
Orientation="Horizontal">
|
|
<TextBlock
|
|
Margin="0,0,5,0"
|
|
VerticalAlignment="Center"
|
|
Foreground="{StaticResource ForegroundBrush}"
|
|
Text="Search" />
|
|
<TextBox
|
|
x:Name="SearchBox"
|
|
Width="400"
|
|
VerticalContentAlignment="Center" />
|
|
</WrapPanel>
|
|
<Button Grid.Row="0"
|
|
x:Name="BackButton"
|
|
Width="30"
|
|
Height="30"
|
|
Margin="7,5,0,0"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Top"
|
|
Style="{StaticResource IconCircleButtonStyle}"
|
|
ToolTip="Back to main menu">
|
|
<iconPacks:PackIconMaterial Foreground="{Binding Foreground, RelativeSource={RelativeSource AncestorType={x:Type Button}}}" Kind="ArrowLeft" />
|
|
</Button>
|
|
|
|
<DataGrid Grid.Row="1" x:Name="ArchiveGrid" AutoGenerateColumns="False" AlternatingRowBackground="#131313" FontSize="14">
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Header="Name" Binding="{Binding Name}" IsReadOnly="True"></DataGridTextColumn>
|
|
<DataGridTextColumn Header="Downloader" Binding="{Binding Downloader}" IsReadOnly="True"></DataGridTextColumn>
|
|
<DataGridTextColumn Header="Size" Binding="{Binding Size, Converter={StaticResource FileSizeConverter}}" IsReadOnly="True"></DataGridTextColumn>
|
|
<DataGridTextColumn Header="Hash" Binding="{Binding Hash}" IsReadOnly="True"></DataGridTextColumn>
|
|
<DataGridHyperlinkColumn Header="Link" Binding="{Binding Url}" IsReadOnly="True"></DataGridHyperlinkColumn>
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
|
|
</Grid>
|
|
</rxui:ReactiveUserControl> |