Infragistics(R) NetAdvantage(R) : WPF 2012.1
Working with ScaleBreaks Collection
E-mail your feedback on this topic.
Shared XAML > Menus > xamTagCloud > Using xamTagCloud > Working with ScaleBreaks Collection

Glossary Item Box

The xamTagCloud™ control contains a ScaleBreak collection which allows you to group a range of weight values on the same scale break. For example, if you have a large collection of cloud items with a significant range of weight values, you could create a scale break to apply the same weight to all cloud items with a weight ranging from 1 to 50.

Each ScaleBreak contains the following properties:

The following code demonstrates how set scale breaks.


<ig:XamTagCloud MaxScale="5" MinScale="1" x:Name="myTagCloud">
      <ig:ScaleBreak StartWeight="1" EndWeight="10" Weight="1"/>
      <ig:ScaleBreak StartWeight="11" EndWeight="20" Weight="2"/>

In Visual Basic:

Dim scaleBreak1 As New ScaleBreak With {.StartWeight = 1, .EndWeight = 5, .Weight = 1}

Dim scaleBreak2 As New ScaleBreak With {.StartWeight = 6, .EndWeight = 10, .Weight = 2}


In C#:

ScaleBreak scaleBreak1 = new ScaleBreak {StartWeight=1, EndWeight=5, Weight=1};

ScaleBreak scaleBreak2 = new ScaleBreak {StartWeight=6, EndWeight=10, Weight=2};
scale breaks
Related Topics


Add Cloud Items to xamTagCloud

Add Navigation URIs to Cloud Items

Add Spaces Between Cloud Items

xamTagCloud Events

Setting Minimum and Maximum Scale Values

Smooth Scaling