UWP: Disable Pivot swipe left/right while horizontal scroll ListView inside

– You have Pivot
– You have horizontal ListView inside PivotItem
– When you scroll ListView items to the last, the pivot automatically swipe to next PivotItem. So you want remain the current PivotItem view without go to next PivotItem?

– Both Pivot and ListView have ScrollViewer by default inside. By default these ScrollViewer have ScrollViewer.IsHorizontalScrollChainingEnabled Property set to True. It means that “true to enable horizontal scroll chaining from child to parent; otherwise, false.” base on MSDN

Set the property ScrollViewer.IsHorizontalScrollChainingEnabled=”False” for the ListView inside PivotItem to avoid this problem.


Leave a Reply