I would like to disable all navigation on my FlipView
(scrolling horizontally) from user's input (e.g. mouse wheel and touch screen).
The only way the flipview is supposed to change its selected index is programatically, I have already removed the side buttons in the FlipView
's style.
I tried changing some of the ScrollViewer
's properties in its style but I can't manage to block everything. Anybody can hint me the correct and clean way to do this?
You can set IsEnabled property of the FlipView to False.
Hope this help!
I found the solution by overriding the
ControlTemplate
and changingManipulationMode
inItemsPresenter
. Just place this code inside yourFlipView
:In my opinion it shouldn't be that difficult to do something simple like disabling user interaction. There should be a property to do that.