Intersoft.Client.UI.Navigation Namespace > UriMapping Class : MappedUri Property |
Public Property MappedUri As Uri
Dim instance As UriMapping Dim value As Uri instance.MappedUri = value value = instance.MappedUri
public Uri MappedUri {get; set;}
When a requested URI matches the pattern you specify in the Uri property, the ClientUI framework navigates to the URI you specify in the MappedUri property. Typically, you set the Uri property to a user-friendly value, such as Home, and you set the MappedUri property to the actual file to use for the request, such as /Views/HomePage.xaml.
For more information, see Navigation Overview.
<Intersoft:UXFrame x:Name="ContentFrame"> <Intersoft:UXFrame.UriMapper> <Intersoft:UriMapper> <Intersoft:UriMapping Uri="" MappedUri="/Views/Home.xaml"/> <Intersoft:UriMapping Uri="/Error" MappedUri="/ErrorPage.xaml"/> <Intersoft:UriMapping Uri="/{page}" MappedUri="/Views/{page}.xaml"/> </Intersoft:UriMapper> </Intersoft:UXFrame.UriMapper> </Intersoft:UXFrame>
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2