Infragistics(R) NetAdvantage(R) : WPF 2012.1
Add Spaces Between Cloud Items
E-mail your feedback on this topic.
Shared XAML > Menus > xamTagCloud > Using xamTagCloud > Add Spaces Between Cloud Items

Glossary Item Box

You can add spaces between the cloud items in the xamTagCloud™ control to allow a greater degree of visual separation. This helps your end user to view the cloud items clearly and precisely.

You can configure the spacing between your cloud items by setting the xamTagCloud control’s ItemsSpacing property. This property accepts a Thickness structure. Setting the Left, Top, Right, and Bottom values of this structure determines the space between each cloud item.

The following code demonstrates how to achieve this.


<Grid x:Name="LayoutRoot" Background="White">
   <ig:XamTagCloud MaxScale="5" MinScale="1" Name="myTagCloud" 

In Visual Basic:

Dim myThickness As New Thickness()
myThickness.Bottom = 50
myThickness.Left = 50
myThickness.Right = 50
myThickness.Top = 50

tagCloud.ItemSpacing = myThickness

In C#:

Thickness myThickness = new Thickness();
myThickness.Bottom = 50;
myThickness.Left = 50;
myThickness.Right = 50;
myThickness.Top = 50;

tagCloud.ItemSpacing = myThickness;

Related Topics


Add Cloud Items to xamTagCloud

Add Navigation URIs to Cloud Items

xamTagCloud Events

Setting Minimum and Maximum Scale Values

Smooth Scaling

Working with ScaleBreaks Collection