The following xaml snippets will cause a new instance of admin.xaml to be created every time it is navigated to. Is there a way to make this always use the same instance or do I need to use something besides the HyperlinkButton?
<HyperlinkButton NavigateUri="/Admin" TargetName="ContentFrame" Content="Admin"/>
<Border x:Name="ContentBorder" >
<navigation:Frame x:Name="ContentFrame" Source="/Home" >
<navigation:Frame.UriMapper>
<uriMapper:UriMapper>
<uriMapper:UriMapping Uri="/{pageName}" MappedUri="/Views/{pageName}.xaml"/>
</uriMapper:UriMapper>
</navigation:Frame.UriMapper>
</navigation:Frame>
</Border>
Set the
NavigationCacheModeproperty on the Page toRequired.Page.NavigationCacheMode Property