In my ListView with buttons for some reason I do not want to work scroll
Here is a listview
<ListView RelativePanel.Below="Sep" RelativePanel.AlignLeftWithPanel="True" RelativePanel.AlignRightWithPanel="True" RelativePanel.AlignBottomWithPanel="True" ScrollViewer.VerticalScrollMode="Enabled" ScrollViewer.VerticalScrollBarVisibility="Hidden" SelectionMode="Single" SelectionChanged="ListBox_SelectionChanged" BorderBrush="White" Foreground="Black" Background="{x:Null}" > <ListViewItem Name="Web" ManipulationMode="TranslateX" ManipulationCompleted="SplitViewPane_ManipulationCompleted"> <StackPanel Orientation="Horizontal"> <Image Name="im2" Source="Resource/Site.png" Height="26" Width="26" /> <TextBlock Name="tx2" FontSize="16" Margin="15,0,0,0">Панель 2</TextBlock> </StackPanel> </ListViewItem> <ListViewItem Visibility="Collapsed" Name="News" ManipulationMode="TranslateX" ManipulationCompleted="SplitViewPane_ManipulationCompleted"> <StackPanel Orientation="Horizontal"> <Image Name="im3" Source="Resource/News.png" Height="26" Width="26" /> <TextBlock Name="tx3" FontSize="16" Margin="15,0,0,0">Панель 3</TextBlock> </StackPanel> </ListViewItem> </ListView>
Tell me, what could be the trouble? (I suspect it's because of the buttons)
UPD If I pull for the part where there are no buttons, the scroll works