Swiping in .NET MAUI Tab View (SfTabView)
26 May 20251 minute to read
The EnableSwiping
property of SfTabView
allows users to switch between tab contents by swiping. By default, the EnableSwiping
property is set to false.
<tabView:SfTabView EnableSwiping="True">
tabView.EnableSwiping = true;
Limitations
- Interference between child controls and Tab View swiping: When a child control within a Tab View supports horizontal swiping or interaction (e.g., a horizontal ScrollView, a custom swipe-enabled control, or a carousel), it can interfere with the Tab View’s touch gesture. This may result in unintended behavior, such as the Tab View swiping when the child control is meant to handle the gesture, or vice versa. The overlapping gestures can cause confusion and disrupt the expected user experience, leading to a less intuitive interface.