UriMapper.UriMappings Property


Gets a collection of objects that are used to convert a uniform resource identifier (URI) into a new URI.

Namespace:  System.Windows.Navigation
Assembly:  System.Windows.Controls.Navigation (in System.Windows.Controls.Navigation.dll)

public Collection<UriMapping> UriMappings { get; private set; }

XAML Values


One or more UriMapping object elements.

Property Value

Type: System.Collections.ObjectModel.Collection<UriMapping>
A collection of objects that are used to convert URI values.

You add a UriMapping object to the UriMappings collection to define a URI that you want to convert to another URI. The UriMapping object that you add contains a Uri property that specifies the requested URI to convert and a MappedUri property that specifies the new URI to use.

If you add more than one UriMapping object that contains the same value in the Uri property, only the first instance in the collection is used for mapping the URI to a new URI.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions