Intersoft ClientUI Documentation
UriMapping Class
Members  Example 

Defines the pattern for converting a requested uniform resource identifier (URI) into a new URI.
Public NotInheritable Class UriMapping 
Dim instance As UriMapping
public sealed class UriMapping 
public ref class UriMapping sealed 
The UriMapping class enables you to specify that a particular URI is converted into another URI. You map one URI to another URI when you want to provide a user-friendly URI that does not map to the physical location of a file. You map a matching URI for only the portion of the URI that pertains to navigation within the frame that contains the mappings. For a browser-integrated application, this portion is found after the fragment delimiter (#). For example, if your browser-integrated Silverlight application is hosted at, you specify a matching URI for by creating an instance of UriMapping that matches Home. Therefore, you can move your Silverlight application to a different Web page.
The following example shows an instance of UriMapper that is defined within a UXFrame named ContentFrame. The element contains a collection of UriMapping objects.
<Intersoft:UXFrame x:Name="ContentFrame">
                        <Intersoft:UriMapping Uri="" MappedUri="/Views/Home.xaml"/>
                        <Intersoft:UriMapping Uri="/Error" MappedUri="/ErrorPage.xaml"/>
                        <Intersoft:UriMapping Uri="/{page}" MappedUri="/Views/{page}.xaml"/>
Inheritance Hierarchy



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

See Also


UriMapping Members
Intersoft.Client.UI.Navigation Namespace
Navigation Overview

Send Feedback