Projektdateien hinzufügen.

This commit is contained in:
Kevin Krüger
2023-07-24 12:00:34 +02:00
parent 656751e10b
commit 0d00a90942
210 changed files with 45049 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
<UserControl
x:Class="VideoBrowser.Views.DownloadFlyoutView"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:viewmodels="clr-namespace:VideoBrowser.ViewModels"
d:DataContext="{d:DesignInstance viewmodels:DownloadFlyoutViewModel}"
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Button
Grid.Column="0"
Margin="4"
Command="{Binding ShowDownloadTabCommand}"
Content="Show Downloads"
ToolTip="Show download queue" />
<ItemsControl Grid.Column="1" ItemsSource="{Binding DownloadItemModels}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal" />
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<Grid
Width="250"
Margin="4"
HorizontalAlignment="Stretch">
<Border Background="#FF555555" Opacity="0.7" />
<StackPanel Margin="8,2,8,2">
<TextBlock
FontSize="14"
FontWeight="Bold"
Foreground="White"
Text="{Binding Title}"
ToolTip="{Binding Title}" />
<TextBlock Foreground="Gainsboro" Text="{Binding Status}" />
</StackPanel>
</Grid>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</Grid>
</UserControl>