Skip to content

Commit

Permalink
support scrolling in mainwindow with touch input;
Browse files Browse the repository at this point in the history
  • Loading branch information
changbowen committed Feb 5, 2023
1 parent de646b3 commit 8b7a928
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@

<vir:VirtualizingItemsControl x:Name="TV1" MouseUp="TV1_Click" MouseDoubleClick="TV1_DoubleClick"
ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto"
ScrollViewer.PanningMode="VerticalOnly"
ItemsSource="{Binding Source={StaticResource ObjectListViewSource}, Mode=OneTime}"
ItemTemplate="{StaticResource ThumbDataTemplate}">
<vir:VirtualizingItemsControl.Resources>
Expand Down

0 comments on commit 8b7a928

Please sign in to comment.