English 中文(简体)
How can I play an entrance theme transition without navigating the frame?
原标题:
  • 时间:2023-07-07 07:08:19
  •  标签:
  • winui-3

In my application, one of my pages consists solely of a WebView2. Navigating to the page resets the WebView2. Even with NavigationCacheMode set to required. So I put the WebView2 page into it s own persistent frame and manually hide and show the frame as the user navigates in the NavigationView.

The WebView2 no longer gets reset however the page transition doesn t run because I don t navigate to the frame.

Is there a way to manually run the page transition or is there an animation that achieves the same effect?

问题回答

As far as I m concerned, there is no way to manually run the WebView2 page transition without navigating the frame. You could try to realize the animations as you like and then integrate the animations into your app.

For more details, you could refer to the Doc:Animations in XAML





相关问题
How to display all installed fonts in a ComboBox

I need to display all the user s installed fonts in a WinUI 3 ComboBox. I m using this code: <ComboBox x:Name="FontComboBox" ItemsSource="{Binding Source={x:Static Fonts....

图3

我似乎不能让我的WinUI 3 Button展示形象。

Can t use WinUI 3个Picker

I m试图在我的Windows App SDK(WinUI 3)申请中展示一个卷宗。 I m 将其列入C#。

热门标签