I need to know how can I know when a ListView is vertical scrolling, to adjust some alignment in other components.
Something like this:
<ListView x:Name="lvList"
ScrollViewer.VerticalScrollBarVisibility="Auto"
ItemsSource="{Binding ... , Mode=OneWay}"
SelectedItem="{Binding ...}">
<TextBlock Text="..."
HorizontalAlignment="{Binding ComputedVerticalScrollBarVisibility, ElementName=lvList.ScrollViewer ,Converter={StaticResource AlightByScroll}}"/>
I have tried putting the ListView inside ScrollViewer and it works, but then I have another problem with scrollViewer and touch scrolling. So I need to solve my problem knowing when the vertical scroll bar is visible in my ListView.