I'm trying to create a resource Style for a Path (Shape), however, when creating several Paths that use the Style, only the first one is rendered.
//In resources xaml
<clr:String x:Key="path">M 50,50 L 35,15 A 8,10 0 0 1 65,15z</clr:String>
<Style TargetType="Path" x:Key="pathStyle">
<Setter Property="Stroke" Value="Black">
</Style>
//in control xaml
<Grid>
<Path Style="{StaticResource pathStyle}" Fill="Blue" Data="{StaticResource path}" >
<Path Style="{StaticResource pathStyle}" Margin="60" Fill="Red" Data="{StaticResource path}">
</Grid>
Only the first Path in the XAML above will be rendered. I've read that this is currently how it's supposed to be. Is there any way to overcome this issue in a non-programmatic method?