This commit is contained in:
Meik
2025-11-11 11:03:42 +01:00
commit dc3e8a2e4c
582 changed files with 191465 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
<UserControl x:Class="FasdDesktopUi.Pages.SlimPage.UserControls.SlimPageDataHistoryCollection"
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:FasdDesktopUi.Pages.SlimPage.UserControls"
mc:Ignorable="d"
Name="DataHistoryCollectionUc"
d:DesignHeight="450"
d:DesignWidth="800">
<ScrollViewer VerticalScrollBarVisibility="Auto">
<ScrollViewer.Resources>
<Style TargetType="ScrollViewer">
<Setter Property="Padding"
Value="0 0 0 2.5" />
<Style.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=ComputedVerticalScrollBarVisibility}"
Value="Visible">
<Setter Property="Padding"
Value="0 0 5 5" />
</DataTrigger>
</Style.Triggers>
</Style>
</ScrollViewer.Resources>
<StackPanel x:Name="MainStack"
VerticalAlignment="Bottom">
<StackPanel.Resources>
<Style TargetType="local:SlimPageDataHistory">
<EventSetter Event="MouseUp"
Handler="DataHistoryUc_MouseUp" />
<EventSetter Event="TouchDown"
Handler="DataHistoryUc_TouchDown" />
</Style>
</StackPanel.Resources>
</StackPanel>
</ScrollViewer>
</UserControl>