基本代码如下:
<esri:SimpleFillSymbol x:Name="DoubleFillSymbol" Fill="Blue" BorderBrush="Blue" BorderThickness="2" >
<esri:SimpleFillSymbol.ControlTemplate>
<ControlTemplate>
<Canvas>
<vsm:VisualStateManager.VisualStateGroups>
<vsm:VisualStateGroup x:Name="CommonStates">
<vsm:VisualState x:Name="Normal">
<Storyboard RepeatBehavior="Forever">
<DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="Element" Storyboard.TargetProperty="(UIElement.Opacity)" From="1" To="0" Duration="00:00:01" />
</Storyboard>
</vsm:VisualState>
</vsm:VisualStateGroup>
</vsm:VisualStateManager.VisualStateGroups>
<Path x:Name="Element" IsHitTestVisible="False" Fill="{Binding Symbol.Fill}" Stroke="{Binding Symbol.BorderBrush}" StrokeThickness="{Binding Symbol.BorderThickness}"/>
</Canvas>
</ControlTemplate>
</esri:SimpleFillSymbol.ControlTemplate>
</esri:SimpleFillSymbol>