Visual Basic (Declaration) | |
---|---|
Public Shared ReadOnly ClusterChildElementsProperty As DependencyProperty |
C# | |
---|---|
public static readonly DependencyProperty ClusterChildElementsProperty |
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.
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>
Target Platforms:Windows Phone 7