ArcGIS API for Silverlight - Library Reference
ClusterChildElementsProperty Field
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > Clusterer Class : ClusterChildElementsProperty Field

Used for specifying a comma-separated list of elements that represents the individual graphics in a cluster.

Syntax

Visual Basic (Declaration) 
Public Shared ReadOnly ClusterChildElementsProperty As DependencyProperty
C# 
public static readonly DependencyProperty ClusterChildElementsProperty

Remarks

This attached property is used to allow for databinding to parts of the cluster symbol , or adding maptip behavior to subparts of your cluster symbol.
The order of the element names must match the order of elements in the cluster, and must be placed on the root element.

            < ControlTemplate
               xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
               xmlns:esri="clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client" >
               <Grid esri:GraphicsClusterer.ClusterChildElements="childElement1,childElement2,childElement3" >
                 <Ellipse x:Name="childElement1" Width="20" Height="20" Fill="Red" />
                 <Ellipse x:Name="childElement2" Width="15" Height="15" Fill="Yellow" />
                 <Ellipse x:Name="childElement3" Width="10" Height="10" Fill="Blue" />
               </Grid>
            </ControlTemplate>
            

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

© ESRI, Inc. All Rights Reserved.