简体   繁体   中英

Prevent FlipView from scrolling

As the title says, I want to prevent the FlipView from scrolling under certain situations. Is there a way to do this? (In C# please!)

That's easy. Set

FlipView.IsEnabled = false;

If the above somehow causes undesired visual state of your controls - you can also set

ManipulationMode="All"

on any any item inside of the FlipView to steal control over manipulations from the underlying scroll view. This also works on any other controls with a scroll view - like a ListView, GridView or ListBox.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM