ESRI.ArcGIS.ADF.Web Send comments on this topic.
UniqueValueRenderer Class
See Also  Members  
ESRI.ArcGIS.ADF.Web.Display.Renderer Namespace : UniqueValueRenderer Class

A renderer that displays multiple symbols for a graphics layer based on matches to unique values in multiple columns.

Object Model


Visual Basic (Declaration) 
Public Class UniqueValueRenderer 
   Inherits ValueMapRenderer(Of String)
   Implements IOverlayableRenderer, IRendererIJsonSerializable 
Visual Basic (Usage)Copy Code
Dim instance As UniqueValueRenderer
public class UniqueValueRenderer : ValueMapRenderer<string>, IOverlayableRenderer, IRendererIJsonSerializable  


UniqueValueRenderer extends ValueMapRenderer to assign features to symbol classes based on exact matches to a set of values in multiple columns.

The UniqueValueRenderer allows matches to values in up to three columns of the graphics layer. For example, a graphics layer containing data for cities might have attribute columns IsCapital, IsInland, and PopulationLevel (low, medium and high). These three columns can be specified in the properties ValueColumnName, ValueColumnName2 and ValueColumnName3. A delimiter (e.g., "," or "|") must be specified when two or three columns are used. Multiple UniqueValue items would be added to the Values of the renderer. Each UniqueValue would specify in its Value property a string with three delimited values. In our example, one UniqueValue.Value might be set to "true,false,high". When the UniqueValueRenderer is used with the graphics layer, this UniqueValue would match cities with IsCapital=true, IsInland=false, and PopulationLevel=high. Cities with these attribute values would be displayed with the symbol specified for this UniqueValue.

If multiple columns are not used, then UniqueValueRenderer operates in the same way as ValueMapRenderer. Specifically, this will be the case if ValueColumnName2 and ValueDelimiter are not set.

Inheritance Hierarchy



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

© 2009 All Rights Reserved.