Files
valheim-mod-sync-desktop/Valheim Mod Sync Desktop/Views/Lizenzen.xaml
2025-08-01 21:10:51 +02:00

60 lines
2.6 KiB
XML

<UserControl x:Class="Valheim_Mod_Sync_Desktop.Views.Lizenzen"
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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
TextElement.FontWeight="Medium"
TextElement.FontSize="14"
FontFamily="{materialDesign:MaterialDesignFont}"
xmlns:local="clr-namespace:Valheim_Mod_Sync_Desktop"
mc:Ignorable="d"
d:DesignHeight="356" d:DesignWidth="800"
>
<Grid
Background="{DynamicResource BackgroundGrid}"
>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<ListView x:Name="fileList" Margin="0,0,0,0" Grid.Row="0" BorderBrush="Black" BorderThickness="1">
<ListView.View>
<GridView>
<GridView.ColumnHeaderContainerStyle>
<Style TargetType="{x:Type GridViewColumnHeader}">
<Setter Property="HorizontalContentAlignment" Value="Center"/>
<Setter Property="Background" Value="Transparent"/>
<Setter Property="Foreground" Value="White"/>
<Setter Property="BorderBrush" Value="Black"/>
</Style>
</GridView.ColumnHeaderContainerStyle>
<GridViewColumn Header="Lizenz" DisplayMemberBinding="{Binding Name}" Width="250" />
<GridViewColumn Header="Name" DisplayMemberBinding="{Binding Typ1e}" Width="150"/>
<GridViewColumn Header="Aktivierungsstatus" DisplayMemberBinding="{Binding Typ2e}" Width="250"/>
<GridViewColumn Header="" DisplayMemberBinding="{Binding Typ3e}" Width="150"/>
</GridView>
</ListView.View>
</ListView>
<Button
Content="Übernehmen"
Click="Übernehmen_Click"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Grid.Row="1"
Background="{DynamicResource ButtonBackgroundColor}"
BorderBrush="{DynamicResource ButtonBackgroundColor}"
Foreground="{DynamicResource ButtonTextColor}"
Cursor="Hand"
Margin="0,257,0,0" RenderTransformOrigin="0.477,-8.399"
/>
</Grid>
</UserControl>