Skip to content

FlipView: flip by dragging the item aside - #4714

Merged
punker76 merged 2 commits into
developfrom
feat/flipview-swipe
Oct 22, 2026
Merged

punker76 merged 2 commits into
developfrom
feat/flipview-swipe

Conversation

@punker76

@punker76 punker76 commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Closes #2508.

The item of a FlipView can now be dragged aside with the mouse, a pen or a finger. It only starts to move once the pointer has gone the system drag distance along the orientation, so clicks and taps still reach the item, and a move that goes across first is left to whatever scrolls. Let go past half the item or with a flick the same way and it flips, otherwise it springs back. At an end without CircularNavigation it gives a little and never flips.

IsSwipeEnabled turns it off. It does not depend on IsNavigationEnabled, so a flip view without buttons can still be swiped.

…finger

Closes #2508. Nothing moves until the pointer has gone the system drag
distance along the orientation, so a click or tap still reaches the item,
and a move that goes across first is left to whatever scrolls. Let go past
half the item or with a flick the same way and it flips, otherwise it
springs back. At an end without CircularNavigation it gives a third and
never flips.

The template shows one item at a time, so the old one leaves to the side
and the new one comes in from the other. The offset sits on the root of the
presenter's template and the presenter clips, which keeps the Metro index
whole. IsSwipeEnabled turns it off, and the gallery page has it as an option.
@punker76 punker76 added this to the 3.0.0 milestone Oct 22, 2026
@punker76
punker76 marked this pull request as ready for review October 22, 2026 15:01
@punker76
punker76 merged commit f96b6aa into develop Oct 22, 2026
3 of 4 checks passed
@punker76
punker76 deleted the feat/flipview-swipe branch October 22, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Support swipe gesture for FlipView

1 participant