Guest User

Untitled

a guest
Aug 18th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. How to make HyperlinkButton navigate to an existing instance of a .xaml view?
  2. <HyperlinkButton NavigateUri="/Admin" TargetName="ContentFrame" Content="Admin"/>
  3.  
  4.  
  5. <Border x:Name="ContentBorder" >
  6. <navigation:Frame x:Name="ContentFrame" Source="/Home" >
  7. <navigation:Frame.UriMapper>
  8. <uriMapper:UriMapper>
  9. <uriMapper:UriMapping Uri="/{pageName}" MappedUri="/Views/{pageName}.xaml"/>
  10. </uriMapper:UriMapper>
  11. </navigation:Frame.UriMapper>
  12. </navigation:Frame>
  13. </Border>
Add Comment
Please, Sign In to add comment