Hi Logan,
Thank you for reaching out.
To clarify, the args.Cancel property is indeed marked as obsolete in the SelectEventArgs used with the Selected event. However, for the
Selecting event, the Cancel property is still active in SelectingEventArgs and can be used to prevent swipe gestures. We have also
demonstrated this in our documentation.
SelectingEventArgs:
SelectEventArgs:
Please follow the example for the Selecting event to effectively prevent navigation on swipe gestures. You can use SelectingEventArgs to access the Cancel property and control swipe behavior, ensuring that the displayed tab remains unchanged.
If you need further assistance with implementing this or have any additional questions, feel free to reach out. We’re here to help!