Business Analyst Online API for Silverlight 2.2 Reference
LabelFunction Property
See Also  Send Feedback
ESRI.ArcGIS.Client.BACore.ThematicMapping.Symbolization Namespace > TMClassificationProvider Class : LabelFunction Property

Glossary Item Box

The function to prepare a class break label.
Since Business Analyst API for Silverlight 2.2.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Remarks

The signature of this function should be the following:

string LabelFunction(RangeType type, ValueInfo bottomValue, ValueInfo topValue);

If this function is null, the label is prepared using the default label function:

            string DefaultLabelFunction(RangeType type, ValueInfo bottomValue, ValueInfo topValue)
            {
              switch (type)
              {
                case RangeType.Bounded: return bottomValue.ToString() + " to " + topValue.ToString();
                case RangeType.UnboundedBottom: return "Below " + topValue.ToString();
                case RangeType.UnboundedTop: return bottomValue.ToString() +  " and above";
                default: return "unbounded";
              }
            }
            

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010-2012 ESRI Inc. All Rights Reserved.