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

41 lines
1.9 KiB
XML

<UserControl x:Class="Valheim_Mod_Sync_Desktop.Views.FTP"
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>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal" Margin="10">
<Button Content="Aktualisieren" Click="LoadFileList_Click"/>
<Button Content="Download" Click="DownloadButton_Click"/>
<Button Content="Upload" Click="UploadButton_Click"/>
<Button Content="Löschen" Click="DeleteButton_Click"/>
<Button Content="Bearbeiten" Click="EditButton_Click"/>
</StackPanel>
<ListView x:Name="fileList" SelectionChanged="FileList_SelectionChanged" Margin="0,0,0,243" Grid.Row="1">
<ListView.View>
<GridView>
<GridViewColumn Header="Name" DisplayMemberBinding="{Binding Name}" />
<GridViewColumn Header="Typ" DisplayMemberBinding="{Binding Type}" />
</GridView>
</ListView.View>
</ListView>
<Button Content="Zurück" Click="BackButton_Click" HorizontalAlignment="Left" Margin="486,0,0,0" VerticalAlignment="Center" />
</Grid>
</UserControl>