Hi,Ok here's the thing. In our application, we programmatically generate some GraphicsLayer that we add dynamically to the map. We use Renderers to display custom symbols. Everything works great up to this point.Here's the problem... When selecting a feature from one of those GraphicsLayer, there is no graphic animation to indicate that the feature is selected ! The feature is selected but the graphic symbol remain unchanged, making it almost impossible for a user to know if it really is selected or not... We did found a way to create a custom animation when selecting a feature but we haven't found a way to use the default "orange-yellow halo" animation.How can we use this default selection animation for a dynamically generated GraphicsLayer ??ThanksSimplified example:[HTML]<esri:MarkerSymbol x:Key="Symbol" OffsetX="9" OffsetY="9"> <esri:MarkerSymbol.ControlTemplate> <ControlTemplate> <Ellipse x:Name="ellipse" Fill="DarkBlue" Width="18" Height="18" Stroke="Black"> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="SelectionStates"> <VisualState x:Name="Unselected" /> <VisualState x:Name="Selected"> <Storyboard> <ColorAnimation Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(Ellipse.Fill).(SolidColorBrush.Color)" To="Cyan" Duration="00:00:0.25"/> </Storyboard> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> </Ellipse> </ControlTemplate> </esri:MarkerSymbol.ControlTemplate> </esri:MarkerSymbol><esri:SimpleRenderer x:Key="SimpleRenderer" Symbol="{StaticResource Symbol}" />[/HTML]var layer = new GraphicsLayer();
layer.Renderer = SimpleRenderer;
MapApplication.Current.Map.Layers.Add(layer);