Frame
Tip
This article covers Uno-specific information for the Frame
class. For a full description of the feature and instructions on using it, see Frame class
- Displays Page instances, supports navigation to new pages, and maintains a navigation history to support forward and backward navigation.
Using Frame with Uno
To improve performance during navigation, Frame
on Android, iOS, and WebAssembly targets operates in different way than in WinUI. Whereas WinUI follows NavigationCacheMode
property on individual Page
instances, on iOS and Android we keep the individual page instances in the back stack in memory by default. This way the can be quickly surfaced back to the user during back navigation. This behavior can be controlled using the FeatureConfiguration.Frame.UseWinUIBehavior
property. This defaults to true
on Skia targets and to false
on Android, iOS and WebAssembly.