allowsBackForwardNavigationGestures property

bool? allowsBackForwardNavigationGestures
getter/setter pair

Set to true to allow the horizontal swipe gestures trigger back-forward list navigations.

NOTE for Windows: Swiping down to refresh is off by default and not exposed via API currently, it requires the "--pull-to-refresh" option to be included in the additional browser arguments to be configured. (See WebViewEnvironmentSettings.additionalBrowserArguments.). When set to false, the end user cannot swipe to navigate or pull to refresh. This API only affects the overscrolling navigation functionality and has no effect on the scrolling interaction used to explore the web content shown in WebView2. Disabling/Enabling allowsBackForwardNavigationGestures takes effect after the next navigation.

The default value is true.

Officially Supported Platforms/Implementations:

Implementation

bool? allowsBackForwardNavigationGestures;