Version

Add Navigation URIs to Cloud Items

You can add Uniform Resource Identifiers (URI) to the cloud items in your xamTagCloud™ control. This allows your end users to click on a cloud item and navigate to a URI you have defined.

To set the URI of a cloud item, you can set the XamTagCloudItem object’s NavigateUri property, as demonstrated in the following code snippet.

In XAML:

<ig:XamTagCloud x:Name="xamTagCloud">
   <ig:XamTagCloudItem Content = "Silverlight" Weight = "10" NavigateUri = "http://es.infragistics.com/products/silverlight" />
…
</ig:XamTagCloud>

In Visual Basic:

Dim cloudItemURI As New XamTagCloudItem
cloudItemURI.Content = "Silverlight"
cloudItemURI.Weight = 10
cloudItemURI.NavigateUri = New Uri("http://es.infragistics.com/products/silverlight")

In C#:

CloudItem uriCloudItem = new XamTagCloudItem ();
uriCloudItem.Content = "Silverlight";
uriCloudItem.Weight = 10;
uriCloudItem.NavigateUri = new Uri(http://es.infragistics.com/products/silverlight);