有没有办法WebView
在 Xbox UWP 应用中禁用指针模式?我不能使用该RequiresPointer
属性,因为它是从而不是从WebView
扩展的。FrameworkElement
Control
这是我的示例 XAML:
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<WebView Source="http://stackoverflow.com/" Height="300" Width="500" />
</Grid>
请找到下图中标记的指针。
我提供了
RequiresPointerMode = ApplicationRequiresPointerMode.WhenRequested;
在App.xaml.cs
页面RequiresPointer = RequiresPointer.Never;
级别。
如何避免指针并使用控制器按钮进行滚动?